Using the toolbar for adding different types of formats can become cumbersome and unwieldy. While Markdown shortcuts work for basic things like bold, italic etc., they aren't useful for adding complex widgets such as tables, outline lists etc. Secondly, it can be a chore for people to remember all the different markdown shortcuts.
What's the solution you'd like to see in Notesnook?
We can do what a lot of other editors are doing: use / as an entrypoint for showing a list of filterable formats. For example:
Typing / on a new line
A menu popups up with 5 most used formats
Anything typed after / is used as a query to filter formats
Pressing Enter inserts the specified format.
One thing to note here is that / commands are only for block level nodes like:
Tables
Lists
Outline list
Task list
Blockquote
Codeblock
What alternatives have you considered?
Using the toolbar with a mouse or keyboard shortcuts.
What problem are you facing?
Using the toolbar for adding different types of formats can become cumbersome and unwieldy. While Markdown shortcuts work for basic things like bold, italic etc., they aren't useful for adding complex widgets such as tables, outline lists etc. Secondly, it can be a chore for people to remember all the different markdown shortcuts.
What's the solution you'd like to see in Notesnook?
We can do what a lot of other editors are doing: use
/
as an entrypoint for showing a list of filterable formats. For example:/
on a new line/
is used as a query to filter formatsEnter
inserts the specified format.One thing to note here is that
/
commands are only for block level nodes like:What alternatives have you considered?
Using the toolbar with a mouse or keyboard shortcuts.
Additional context
No response