question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preview don't work (i include to-markdown)

See original GitHub issue

Hello guys,

I do that on my header :

<script src ="js/to-markdown.js"></script> <script src ="js/bootstrap-markdown.js"></script>

I inverse the include order too, i tried a lot of thing, but the button preview still don’t work…

Have an idea?

Thanks, valt

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:6

github_iconTop GitHub Comments

5reactions
teaqucommented, Jan 19, 2017

I noticed the docs are using this fork of markdown-js.

I also ended up using showdown.js.

It was easy to setup:

<script>
    var markdown = new showdown.Converter();
    markdown.toHTML = function(val) {
        return markdown.makeHtml(val);
    }
</script>
2reactions
xserratcommented, May 3, 2016

Hi guys,

The 3rd party library didn’t work for me @LeValt and @chrise86, but I found showdown.js library to solve the problem.

Good luck!

Read more comments on GitHub >

github_iconTop Results From Across the Web

preview not work for the first markdown file · Issue #1137
I have to switch to another markdown file("Automatically show preview of markdown being edited" is on, but its state: on/off doesn't matter) ...
Read more >
Mardown plugin doesn't show preview
Hey there,. as described above my WebStorm IDE doesn't show up the preview tab for markdown files anymore. This happens with any .md...
Read more >
Preview for markdown files doesn't appear while editing or ...
Open a markdown file in VSTS; See the 'Preview' option beside the active 'Content' option; Click 'Edit' !! See 'Preview' option gone (It...
Read more >
VSCode: "Markdown Preview" SHIFT-COMMAND-P not ...
apparently, in VSCode this shortcut SHIFT-COMMAND-V only works when you are ACTIVELY EDITING the file. using the mouse on the RIGHT-CLICK ...
Read more >
Markdown previews in BBEdit, but not in browsers
Browsers don't understand Markdown, so they render the document as text. If you want to see what the Markdown document looks like when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found