OneMore
OneMore copied to clipboard
Convert to Markdown should render TODOs right
I have a structured text with TODOs. I think, convert to Markdown either does nothing or uses text only:
I think
- All headings should be converted to markdown headings
- TODOs should be converted to
- [ ]in Markdown
Are you using Convert Markdown, Copy as Markdown, or File/Export Markdown?
Convert Markdown converts md to OneNote, which will look similar to what you see above.
Copy as Markdown and File/Export Markdown both should convert this correctly
I use the Export functionality:
Tried today
In:
Out
# 2024-12-17 - Tutorentreffen
# Vorbereitung 2024-12-15## UX
[ ] - Auf ordentliches Runden achten
[ ] - Bedienung sollte "intuitiv" sein
...
- Raumauswahl? -> Vorgegebene Räume
# Code
[ ] - Ordner wie .idea und node_modules nicht mitversioneren
Should be:
# 2024-12-17 - Tutorentreffen
# Vorbereitung 2024-12-15
## UX
- [ ] Auf ordentliches Runden achten
- [ ] Bedienung sollte "intuitiv" sein
...
- Raumauswahl? -> Vorgegebene Räume
# Code
- [ ] Ordner wie .idea und node_modules nicht mitversioneren
Reasons:
- TODOs are rendered as
- [ ]in markdown - Alterntaive
- [ ] - {text}is not as readable - one can omit the second- - Headings should be on separate lines
- No indent of visually non-indented things
- Blanks around headings: https://github.com/DavidAnson/markdownlint/blob/main/doc/md022.md
- Blanks around lists: https://github.com/DavidAnson/markdownlint/blob/main/doc/md032.md
(More markdown conventions at https://github.com/DavidAnson/markdownlint?tab=readme-ov-file#rules--aliases)
The "UX" is somehow separated from the heading "Vorbereitung 2024-12-15" in the XML:
<one:Outline selected="all" omHash="567402311740877204723275822539358589194970132671">
<one:Position x="36.0" y="86.4000015258789" z="0" />
<one:Size width="540.0" height="583.67138671875" />
<one:OEChildren selected="partial">
<one:OE selected="all" alignment="left" quickStyleIndex="1">
<one:T selected="all"><![CDATA[Vorbereitung 2024-12-15]]></one:T>
</one:OE>
<one:OE selected="all" alignment="left" quickStyleIndex="2">
<one:T selected="all"><![CDATA[]]></one:T>
</one:OE>
<one:OE selected="all" alignment="left" quickStyleIndex="3">
<one:T selected="all"><![CDATA[UX]]></one:T>