html -> markdown -> html
See original GitHub issueI wanted to use this plugin to write emails with sublime text. But when I activate GhostText within a gmail compose box, I get html in Sublime, and I don’t want to write my emails in html.
Would it be feasible to integrate GhostText with pandoc? Necessary additions would be
- new setting “use_pandoc” defaults to false
- detect if source is html
- add
pandoc -f html -t markdown
filter between chrome and sublime - add
pandoc -f markdown -t html
filter between sublime and chrome
pandoc is very fast, so I don’t think speed is a major concern here. If you’re interested in this addition, I can implement it and make a pull request. (If you can tell me where the filters should go, that would be very helpful)
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Basic Syntax - Markdown Guide
HTML. Many Markdown applications allow you to use HTML tags in Markdown-formatted text. This is helpful if you prefer certain HTML tags to...
Read more >How can I wrap my markdown in an HTML div? - Stack Overflow
Markdown. For Markdown, This is by design. From the Inline HTML section of the Markdown reference: Note that Markdown formatting syntax is not...
Read more >Markdown Syntax Documentation - Daring Fireball
HTML is a publishing format; Markdown is a writing format. ... Unlike block-level HTML tags, Markdown syntax is processed within span-level tags.
Read more >HTML to Markdown Converter - Code Beautify
HTML to Markdown Converter helps to convert HTML (HyperText Markup Language) to Markdown markup language and helps to save and share the Markdown...
Read more >Markdown versus HTML - Google Developers
Markdown is easier to write than HTML, and it's easier for most humans to read Markdown source than HTML source. However, HTML is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Select Plain text mode in gmail. Problem solved!
https://useplaintext.email/#gmail-web
You raise good points, this transformation is going to be lossy and likely a complex feature: