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

CSS files instead of Markdown files with embedded CSS code blocks? #8

Open
ewa opened this issue Mar 18, 2021 · 3 comments
Open

CSS files instead of Markdown files with embedded CSS code blocks? #8

ewa opened this issue Mar 18, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ewa
Copy link
Contributor

ewa commented Mar 18, 2021

This is definitely a feature request rather than an "issue," but...

Right now, all of these examples are markdown (.md) files containing CSS in code blocks, meaning that a person can't just download them into their snippets directory and use them. And (at least in my case) meaning there's a lot of opportunity for human error in copy-and-pasting those code blocks.

What do you think of changing the files over to straight CSS? That would mean giving up some of the nicely-formatted explanatory text in the files themselves, but I think it might be a win overall.

Thanks for your consideration :-)
-Eric

@Dmytro-Shulha
Copy link
Owner

It is actually a good idea!
It may be difficult to avoid conflicts with all currently used CSS themes for Obsidian.
It definitely will improve Obsidian customization experience.

@Dmytro-Shulha Dmytro-Shulha added the enhancement New feature or request label Mar 20, 2021
@fkSoc1ety
Copy link

Linux users:

File renaming from the snippets directory recursive...

find . -type f -name "*.md" -print0 | while IFS= read -r -d '' file; do mv "$file" "${file%.md}.css"; done

Rgds

@santochen
Copy link

santochen commented Oct 3, 2024

@fkSoc1ety , its not working for some files such as Table.md , the format had already been updated to use .md format with '```css' so need to be careful with some files if they are not working..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants