OneMore icon indicating copy to clipboard operation
OneMore copied to clipboard

Improve MarkdownWriter

Open stevencohn opened this issue 2 years ago • 6 comments
trafficstars

  • Try to handle nested tables
  • Better detection of code blocks
  • #978

stevencohn avatar Dec 13 '22 16:12 stevencohn

.... and do indented lists. The markdown flattens indentation.

jasonjac2 avatar Dec 17 '22 16:12 jasonjac2

@jasonjac2 Can you give me an example? Because this:

image

should result in this:

image

stevencohn avatar Dec 17 '22 16:12 stevencohn

And this:

image

will result in this:

image

stevencohn avatar Dec 17 '22 16:12 stevencohn

Ah, I think it is because I don't use bullet lists normally, mine are like: image Results in:

JAC Work Unsorted Todo's

Top 10

Top level
Level 2
Level3
Level 2
Top Level

So I guess you could say it is doing it correctly, but maybe better to have an option (settings) to have implicit bullets based on indentation?

jasonjac2 avatar Dec 17 '22 16:12 jasonjac2

OK that is a problem then. It should add > and >> and >>> ... prefixes for indented paragraphs

stevencohn avatar Dec 17 '22 16:12 stevencohn

It seems to fail also: image where I included bullets, but not at the top leve.

jasonjac2 avatar Dec 17 '22 16:12 jasonjac2