MultiMark: Preview your markdown in many themes

Project URL: https://multimark.glitch.me

There wasn’t really any benefit to keep this project hidden any longer so I decided to make a gallery post about it. This is just a fun project I made to play with the numerous classless css frameworks you can find. The concept is kind of that you can use url parameters to control the markdown viewer, like how renderer=markdown-it tells the web page to render the markdown using markdown-it instead of marked the default renderer. Below I’ll document some more options

  • style=water sets the theme to water (see drop down for list)
  • title=js.org_rocks sets the title of the document (usually shown in the tab name) to js.org_rocks
  • noxss=dompurify sets the html sanitizer to dom purify which is the default. You can also set it to none to display a big scary warning to the user before loading.

Some themes like win98 have scripts that need to run when loaded so switching from those themes to another theme will reload the page to prevent unpredictable behavior

6 Likes

this is great! if you’re taking requests for more themes, might i suggest the iconic HOTDOG STAND from windows 3.1:

4 Likes

my eyes

3 Likes

hey, “dark mode” is in the eye of the beholder!

2 Likes