larstvei / ox-gfm

Github Flavored Markdown Back-End for Org Export Engine
233 stars 44 forks source link

Org bullet levels messed up in exports #40

Open khinshankhan opened 5 years ago

khinshankhan commented 5 years ago

When exporting the bullets, it seems that the "highest level" is treated as the "first level". Here are a few snippets to clarify:

First, a normal file:

* This is `#`

** This is `##`

gets exported as

# This is \`#\`

## This is \`##\`

and that's good. But when I try exporting:

** This is `##`

I get:

# This is \`##\`

I'd rather that this is treated as a second level even when a first level isn't available.