Skip to content

Commit

Permalink
feat(converter.makeMarkdown): add an HTML to MD converter
Browse files Browse the repository at this point in the history
Showdown now supports a simple HTML to Markdown converter.

**Usage:**

```
var conv = new showdown.Converter();
var md = conv.makeMarkdown('<a href="/url">a link</a>');
```

Closes #388, #233
  • Loading branch information
tivie committed Nov 10, 2018
1 parent 5c0d67e commit e4b0e69
Show file tree
Hide file tree
Showing 60 changed files with 6,149 additions and 27 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = function (grunt) {
'src/helpers.js',
'src/converter.js',
'src/subParsers/*.js',
'src/subParsers/makeMarkdown/*.js',
'src/loader.js'
],
dest: 'dist/<%= pkg.name %>.js'
Expand Down
Loading

0 comments on commit e4b0e69

Please sign in to comment.