0

I like to write markdown files in VScode and preview the rendered HTML via the MPE (Markdown-preview-enhanced) plugin, where line breaks are simply rendered as newlines in the default settings, and Github Flavored Markdown does the same thing, although I know the standard should be to use more than two spaces plus a line break.

Can I achieve this by modifying index.html

default setting of mpe
mpe_break_on_single_newline
how to modify the index.html to achieve the following
indexhtml

toxin
  • 5
  • 2
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Aug 04 '23 at 13:30

1 Answers1

0

edit the index.html like this

...
<body>
  <div id="app"></div>
  <script>
    window.$docsify = {
      markdown: {
        breaks: true,
        // Other markdown options
      }
    }
  </script>
  <!-- Docsify v4 -->
  <script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
</body>
...
toxin
  • 5
  • 2