Presentation Mode

Thanks a lot for that Takuya!

It works!

With the help of that I’m now able to show both the horizontal (— = three dashes == hr) and vertical (— = three dashes) slide change!
Currently with only simple text presentation, as I could not yet figure out how to use React component with the thematicBreak, if possible. But at least I can show some simple visualization to the user :slight_smile:

Just a side note

Like in the previous example I provided, hr, only works if user will add atleast 1 empty space before it.
CommonMark documentation says:

A line consisting of 0-3 spaces of indentation, followed by a sequence of three or more matching - , _ , or *

If user will not give the space before three dash in Inkdrop, the content inside is hidden in preview. But when I figured that the space is needed for it to work correctly, I got it working.

Example with those three dashes

# Heading 1
Test content

---

# Heading 2
I am hidden heading and can't be seen in the Preview

---

# Heading 3

Next steps

  • Speaker notes support; hiding those from preview
  • More cleanup

Maybe I will soon release the first version of the plugin :slight_smile: