CARVIEW |
Converting HTML and rich-text to Markdown
If you copy and paste from a web page - including a full table - into a GitHub issue comment GitHub converts it to the corresponding Markdown for you. Really quick way to construct Markdown tables.
https://domchristie.github.io/turndown/ is an open source JavaScript library by Dom Christie that can convert HTML strings into Markdown strings. Code: https://github.com/domchristie/turndown - it used to be called to-markdown
.
https://euangoddard.github.io/clipboard2markdown/ is a tool which lets you paste in rich-text and uses turndown to convert it for you directly in your browser.
2md, explained
https://2md.ca/ is another tool that does this, written in TypeScript. It's accompanied by a detailed essay explaining exactly how it works.
Related
- markdown Rendering Markdown with the GitHub Markdown API - 2020-08-22
- javascript Copy rich text to the clipboard - 2023-03-10
- github-actions Updating a Markdown table of contents with a GitHub Action - 2020-07-22
- gpt3 Reformatting text with Copilot - 2022-12-09
- javascript Minifying JavaScript with npx uglify-js - 2020-08-30
- html HTML video with subtitles - 2024-07-31
- github Bulk editing status in GitHub Projects - 2023-06-29
- github GitHub Pages: The Missing Manual - 2022-10-31
- github Reporting bugs in GitHub to GitHub - 2022-07-07
- javascript Implementing a "copy to clipboard" button - 2020-07-23
Created 2020-05-09T11:19:27-07:00, updated 2020-09-01T16:54:03-07:00 · History · Edit