Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsidian插件不支持scss格式,只支持css格式 #30

Open
LanQianqian opened this issue Feb 28, 2024 · 7 comments
Open

Obsidian插件不支持scss格式,只支持css格式 #30

LanQianqian opened this issue Feb 28, 2024 · 7 comments
Labels
good first issue Good for newcomers question Further information is requested

Comments

@LanQianqian
Copy link

请问可以保留css文件吗?

@sproutgo
Copy link

sproutgo commented Mar 5, 2024

可以把后缀scss直接改成css,能用但不知道会不会丢失什么效果

@favourhong
Copy link
Owner

Obsidian里也是支持SCSS的,请见下图,有关SCSS和CSS,请见Separate the theme variables and styles · Issue #25 · favourhong/Awesome-Marp🤙
image

image

@favourhong favourhong added the question Further information is requested label Mar 8, 2024
@jingwangsg
Copy link

jingwangsg commented Mar 14, 2024

@favourhong Hi, 这款主题简直太棒了,作为科研人做一些简洁的ppt不再需要纠结排版。
这边在obsidian中的preview的页面基本正常,只是这边在obsidian会出现导出为pdf样式全部丢失的情况。不知道大佬有没有什么想法可以解决
image

@favourhong
Copy link
Owner

我也出现了同样的问题,所以我自己使用 Awesome Marp 时,就只用 VScode 了~ 如果你找到了解决方案,也请在告知 : )

@XiangFFF
Copy link

暂时只有用v1.2版本的css主题文件喽,scss目前还是用不了

@fengmz
Copy link

fengmz commented May 8, 2024

@favourhong Hi, 这款主题简直太棒了,作为科研人做一些简洁的ppt不再需要纠结排版。 这边在obsidian中的preview的页面基本正常,只是这边在obsidian会出现导出为pdf样式全部丢失的情况。不知道大佬有没有什么想法可以解决......

后缀scss全改成css,预览和导出就都正常了,应该是那个ob插件不支持scss

@favourhong favourhong added the good first issue Good for newcomers label May 8, 2024
@crossz
Copy link

crossz commented Jul 1, 2024

在 obsidian 的环境下,preview 是可以加载 scss 的样式的,但是通过 marp slides 打开的 html,还是生成的 html、pdf,甚至用 marp cli 命令,都无法正确生成有样式的 html 和 pdf。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants