Open brlin-tw opened 6 years ago
I'm not sure I understand your suggestion?
You can use <br>
in headlines (see https://hackmd.io/MwDgjATAJlAMCmBaArLCBjRAWVSCc88eiMwwEAbAEYCGAZulFkA= ), and it is shown correctly in the document view and in the slides. What am I missing?
Sorry for the delay, I've updated the screenshot to made it more clear.
completely my fault, I missed "html title". Yes, this is indeed not ideal.
If someone wants to play with this but has no idea where to start:
This should fix it.
@Lin-Buo-Ren You can set the title in the yaml header, separate from the H1 of the slide see https://github.com/hackmdio/codimd/wiki/Slide-Options#basic-yaml-header
---
title: Example Slide
tags: presentation
---
Rationale
It is possible to insert line breaks in 1st level headings by exploiting the
<br>
tag, however this generates ugly HTML title as the line break isn't represented. Please support inserting additional separators like`,
-or
| ` where the line breaks are available to make it less uglier.Bonus
Allow user to decide the behavior and separator pattern via note metadata.
Additional Information
This also includes Book Mode and Slide Mode, which is HackMD EE features.