Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Complete revamp of the code #29

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ee339ca
Added package.json to .gitignore.
fredck Nov 18, 2019
76aa63a
Migrated from to-markdown to Turndown (except converters).
fredck Nov 19, 2019
56c478c
Importing 'marked' as an npm module and separate it into it's own code.
fredck Nov 19, 2019
01c97f5
Fixed the conversion of todo lists to match the default HTML generate…
fredck Nov 19, 2019
35b2dac
Configured markdown to output fenced (```) code blocks.
fredck Nov 23, 2019
c77870a
Minor clarification in a code comment.
fredck Nov 24, 2019
79f4f2a
Changed the defaults of some of the markdown markup produced.
fredck Nov 27, 2019
007ce02
Aligned some of the tests with the current expected behavior of featu…
fredck Nov 29, 2019
f8dc9eb
Added the build directory (created by the test runner) to .gitignore.
fredck Nov 29, 2019
cd792a9
Added yarn.lock to .gitignore.
fredck Dec 5, 2019
4ff9c01
Changed test that are outdated, low quality or irrelevant.
fredck Dec 6, 2019
a84e019
Removed outdated code, confirmed to not be anymore needed.
fredck Dec 6, 2019
93770c8
HTML as text is now properly escaped in the output mardown.
fredck Dec 18, 2019
41506ec
Added a basic test for todo lists.
fredck Dec 18, 2019
32bbd8a
Added a test for todo lists when loading the HTML produced by the tod…
fredck Dec 18, 2019
2d35d74
Fixed an unfortunate typo in the todo list tests.
fredck Dec 18, 2019
7e955df
For the purpose of this plugin, autolinking from markdown to html is …
fredck Jan 29, 2020
c3bfede
Fixed a few missing changes necessary after the recent rebase onto ma…
fredck Feb 25, 2020
06eb2a5
Upgrade to v18.0.0.
fredck Mar 21, 2020
5621dfd
Made it possible to define html elements to be kept as is in the output.
fredck Apr 20, 2020
9f13bfd
Added test for code blocks with triple/quadruple ticks inside.
fredck Dec 18, 2019
45cab6f
Upgraded to Turndown v6.0.0.
fredck Mar 13, 2020
3ea8dbc
Fixed the html->markdown conversion to avoid escaping urls in text no…
fredck Mar 9, 2020
61b514a
Merge branches 't/github-rte/17' and 't/github-rte/93' into t/ckedito…
fredck May 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor clarification in a code comment.
  • Loading branch information
fredck committed May 2, 2020
commit c77870af2d10ade85915268dd6bf6c2d70e262c3
2 changes: 1 addition & 1 deletion src/html2markdown/html2markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function html2markdown( html ) {
return turndownService.turndown( html );
}

// This is a copy of the original from turdown-plugin-gfm, with minor changes.
// This is a copy of the original taskListItems rule from turdown-plugin-gfm, with minor changes.
function todoList( turndownService ) {
turndownService.addRule( 'taskListItems', {
filter: function( node ) {
Expand Down