Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Update README.md
Laurent Cozic9bcb5ec3a9c8
diff --git a/README.md b/README.mdindex f8caa811d9..c05a4f57c8 100644--- a/README.md+++ b/README.md@@ -2,19 +2,17 @@A [Turndown](https://github.com/domchristie/turndown) plugin which adds GitHub Flavored Markdown extensions.+This is a fork of the original [turndown-plugin-gfm](https://github.com/domchristie/turndown-plugin-gfm) for use with [Joplin](https://github.com/laurent22/joplin). The changes are:++- Always render tables even they don't have a header.+- Don't render the border of tables that contain other tables (frequent for websites that do the layout using tables). Only render the inner tables, if any, and if they also don't contain other tables.+## Installationnpm:```-npm install turndown-plugin-gfm-```--Browser:--```html-<script src="https://unpkg.com/turndown/dist/turndown.js"></script>-<script src="https://unpkg.com/turndown-plugin-gfm/dist/turndown-plugin-gfm.js"></script>+npm install joplin-turndown-plugin-gfm```## Usage@@ -22,7 +20,7 @@ Browser:```js// For Node.jsvar TurndownService = require('turndown')-var turndownPluginGfm = require('turndown-plugin-gfm')+var turndownPluginGfm = require('joplin-turndown-plugin-gfm')var gfm = turndownPluginGfm.gfmvar turndownService = new TurndownService()