Questions tagged [showdown]

Showdown is a Markdown to HTML converter written in Javascript and based on the original John Gruber's work.

Showdown is a javascript Markdown converter: a text-to-HTML conversion tool for web writers.

65 questions
14
votes
1 answer

How does one actually use Markdown with Meteor

I'm working on a project with Meteor, and I want it to use markdown, and it was very nice to see that there is a package to do that with. So I meteor added showdown, it worked, and now I can do something like {{#markdown}} #This is a header …
user1624005
  • 967
  • 1
  • 12
  • 18
6
votes
1 answer

Restrict only certain formatting only with showdown.js Markdown expression library

I am using showdown.js that can be downloaded from https://github.com/showdownjs/showdown/ and the question is I am trying to allow only certain formatting? E.g. only bold formattings are allowed, the rest is not converted and is formatting…
Pradeep Gaba
  • 415
  • 3
  • 17
6
votes
1 answer

Typescript throws a property does not exist on type even with type file included

I'm using TypeScript with webpack and ES6. I'm trying to import the module Showdown and use it to convert markdown to HTML. Here's my app.ts code: /// import 'zone.js'; import 'reflect-metadata'; import…
antjanus
  • 987
  • 3
  • 15
  • 30
4
votes
0 answers

Showdown automatic header anchor link

Showdown is markdown to HTML converter written in Javascript. Is there a way to configure showdown (or write an extension) that automatically adds link to current header anchor? For example: (new showdown.Converter()).makeHtml(' # Some header…
CMTV
  • 2,531
  • 2
  • 17
  • 25
4
votes
3 answers

Combine angular-translate with markdown

I use angular-translate and showdown.js in my app (showdown is a port of markdown). I would like to run the output of a translated string through markdown. Do you have any suggestions of how to achieve that? Let's say I have the string This is a…
swenedo
  • 3,074
  • 8
  • 30
  • 49
4
votes
2 answers

How to create a showdown.js markdown extension

Using the following code, I get working output: