cooklang-obsidian
cooklang-obsidian copied to clipboard
Style feature request: change Step headings to simple numbered list or paragraphs
Instead of the Step 1, Step 2, etc. headings I would prefer a simple numbered list. Actually, I prefer no numbers, just paragraphs. Can an option be added to control the step style?
You can style (or hide) it yourself using a CSS snippet for now, but I'll keep this open and consider adding some more default options for style. To achieve what you want with no headings or numbers, just paragraphs, use this CSS Snippet:
body .workspace-leaf-content[data-type=cook] ol.method > li::before { content: ""; }
(just save it in a css file — for example, cooklang-no-step-headings.css
— in your snippets folder: <your vault>/.obisidian/snippets
and turn it on in Obsidian's appearance settings.
Perfect, confirmed that this snippet works.
I like this idea, maybe some sort of template system or just more options in the settings could be possible?
For example:
- Steps:
## {n}. Step
where{n}
is a placeholder for the numbers (empty template would only show the paragraphs) - Other Headlines (Ingredients, cookware, etc.):
# **{headline}**
where{headline}
is a placeholder for the different headlines - or even better, each headline on its own (that way people could even translate the headings to their native language), so you would for example have these settings:
- Ingredients:
# Zutaten
- Cookware:
# **Küchenutensilien**
- etc.
- Ingredients: