-
h2 headings appear inline and I'd like to fix that without me requiring to edit all classes for h2 headings manually when writing notes. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Yes, you can copy https://github.com/srid/emanote/blob/master/emanote/default/templates/components/pandoc.tpl to your notebook's But I wonder why the default h2 uses inline style in the first place. Can't we just remove it in the default? |
Beta Was this translation helpful? Give feedback.
-
Interesting, I couldn't find any info about that templates/components
folder. Is there any place I can look at?
Also yes I think that inline style could be removed from the default :)
…On Tue, 23 May 2023, 20:47 Sridhar Ratnakumar, ***@***.***> wrote:
Yes, you can copy
https://github.com/srid/emanote/blob/master/emanote/default/templates/components/pandoc.tpl
to your notebook's templates/components/pandoc.tpl and edit that.
But I wonder why the default h2 uses inline style in the first place.
Can't we just remove it in the default?
https://github.com/srid/emanote/blob/cedd7d8cde17e0dbe96b2b9d2210d8da7d2e2d01/emanote/default/templates/components/pandoc.tpl#L101
—
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2SULPGZQ4PJPCFUGRWBQDXHUH3TANCNFSM6AAAAAAYMKVUME>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Another question: I noticed there's https://github.com/srid/emanote/blob/master/emanote/default/templates/filters/embed-note.tpl and https://github.com/srid/emanote/blob/master/emanote/default/templates/filters/embed-pdf.tpl. I know that if I do I am asking this because I want to be able to do |
Beta Was this translation helpful? Give feedback.
Yea, it needs to be documented. At the moments only examples are available:
It basically works by doing a "union" of the default layer (in this github repo) and that of your notebook. So you can copy only the files you want to override. Kind of like unionfs; both default layer and your notebook are union mounted in Haskell using https://github.com/srid/unionmount