streetwriters / notesnook-importer

Import your notes from any app into Notesnook
https://importer.notesnook.com/
GNU General Public License v3.0
48 stars 9 forks source link

Markdown H1 should be ignored and converted to note title #21

Closed streetwriters[bot] closed 2 years ago

streetwriters[bot] commented 2 years ago

Why the editor doesn't have Header 1? This also becomes an issue when importing a Markdown file that contains h1.


Device information: App version: 1694 Platform: android Model: google-Pixel 3 XL-31 Pro: true Logged in: yes

thecodrr commented 2 years ago

Header 1 is the title of the note. The standard structure of a note or any document is that it has one main heading. Everything else is either H2 or something else.

The other issue regarding Markdown import is a genuine bug.

henryken commented 2 years ago

I think it is not true that the standard structure of any doc is to have only one H1. There is one title, but it can have as many headings as it wants. If you look at Google Docs or MS Word, you can have as many h1 in the docs as you like. In Markdown, it is also not prescribed that you can only have one h1. Markdown doesn't have the "title" equivalent, but it doesn't mean h1 is the title.

I would request you to consider this further as it is not intuitive to have no h1 in the doc and break existing Markdown notes that can be imported to Notesnook.