Due to the fact that I write articles in Google Docs (I still see the formatting visually more conveniently), and it is a bit expensive to transfer from Google Docs to Habramartska, I wrote down the online coverter from “rich-text” (Google Docs, Word, and .d.) in habrakramarkka:
habraconverter.meta4.infoHabraconverter supports:
- Simple formatting (headers, bold / italic / nested / underlined, superscript, subscript)
- Fix quotes
- Links
- Lists
- Tables
- Pictures (when copying from Google Docs, align is not taken into account)
- Horizontal line
- Source code (through text formatting in Courier New font)
Of course, the whole set of habrasmarks can not be used, limited to the framework of a simple word processor like Google Docs, and I can't do a “spoiler” there. However, it is still possible to simply paste it into the text (nothing is escaped during the conversion for this). It seems to me, even with these conditions, it will still simplify the process of writing articles in which the emphasis is on text formatting.
When copying from Google Docs, even pictures are perfectly converted, but I’m not sure that Google Docs will withstand the habraeffect (correct it if it’s not right).
')
The service is written in JavaScript, so there is no “server” there. The generated markup is human-readable enough. Unfortunately, extra new lines can be inserted during the conversion - this is not an easy task to get around, so a small manual check after conversion is necessary.
I consider offers on features and pool requests.
Project on github:
github.com/daniilguit/habraconverter