Help with Note Template - Newbie
Newbie question -
I use the blue highlight colour to select Headings and the yellow highlight colour to select Main Text.
When I select “Add note from Annotations” is there a way to code a template that Makes all blue highlights a heading3 /h3?
I know how to drive mark down. But don’t understand how to code the translation from highlights into mark down. Any hot tips appreciated.
I use the blue highlight colour to select Headings and the yellow highlight colour to select Main Text.
When I select “Add note from Annotations” is there a way to code a template that Makes all blue highlights a heading3 /h3?
I know how to drive mark down. But don’t understand how to code the translation from highlights into mark down. Any hot tips appreciated.
This doesn't really have anything to do with Markdown. These are note templates, which control how annotations are added to notes. Markdown export is just based on what's in the note, however it got there.
If you'd be open to helpful guide me to getting there I'd most appreciate it. I'd help you in any way I can. Photography and video is my game.
I've tried looking up - https://www.geeksforgeeks.org/if-else-condition-in-css/ and I cannot seem to grasp it.
My hope is for - All the settings of the default template with two adjustments:
Purple Highlight to h1
Blue Highlight as h2
What I came too - though it wasn't working!
{{if color == '#2ea8e5'}}
<h3>{{highlight}}</h3> {{citation}} {{comment}}
{{if color == '#a28ae5'}}
<h1>{{highlight}}</h1> {{citation}} {{comment}}
{{if comment}}<p>{{comment}}:</p>{{endif}}<blockquote>{{highlight}}</blockquote><p>{{citation}}</p>
{{else}}
<p>{{highlight quotes='true'}} {{citation}} {{comment}}{{if tags}} #{{tags join=''}}{{endif}}</p>
{{endif}}
{{if color == '#a28ae5'}}
<h1>
{{highlight quotes='true'}} {{citation}} {{comment}}
</h1>
{{elseif color == '#2ea8e5'}}
<h2>
{{highlight quotes='true'}} {{citation}} {{comment}}
</h2>
{{else}}
<p>
{{highlight quotes='true'}} {{citation}} {{comment}}
</p>
{{endif}}
Was the result and it works!