You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing a book. Scene shifts are broken by a centered diamond icon (<center>♦</center>). Obsidian displays it fine. Pandoc ePub export ignores the center tag. Same goes for some special paragraphs that I decided to center (**<center>Sentence should be centered bold</center>**) but it ignores the center and only bolds it.
Tried doing <p class="cb">Paragraph</p> and adding a css snipped for center align bold weight, but didn't work. Same goes for div tag. It ignores the class attribute as a whole.
The only thing that worked so far is <div style="text-align: center; font-weight: bold;">Center bold para</div> but not only is this inconveniently wordy, but it also causes paragraph spacing (the default obsidian one line gap) to be ignored entirely.
I just want it to display however obsidian is translating and displaying it. Nothing more.
The text was updated successfully, but these errors were encountered:
This is quite inconvenient.
The issue is that Pandoc, when exporting, changes the <center> tag into the <p> tag.
I have to fix this afterward with Calibre, using search and replace to change it back to what it was in Obsidian.
Is there a way to tell Pandoc not do perform that change?
Writing a book. Scene shifts are broken by a centered diamond icon (
<center>♦</center>
). Obsidian displays it fine. Pandoc ePub export ignores the center tag. Same goes for some special paragraphs that I decided to center (**<center>Sentence should be centered bold</center>**
) but it ignores the center and only bolds it.Tried doing
<p class="cb">Paragraph</p>
and adding a css snipped for center align bold weight, but didn't work. Same goes fordiv
tag. It ignores theclass
attribute as a whole.The only thing that worked so far is
<div style="text-align: center; font-weight: bold;">Center bold para</div>
but not only is this inconveniently wordy, but it also causes paragraph spacing (the default obsidian one line gap) to be ignored entirely.I just want it to display however obsidian is translating and displaying it. Nothing more.
The text was updated successfully, but these errors were encountered: