Closed hmngwy closed 8 years ago
The endpoint stores the raw file in a different field (from the processed string), so I can just send that back to the user without any pre-processing, instead of converting html to markdown/plain and back.
P.S. though it's really beautiful that you can do this with sed. 👍
Would really like this unless there is a way to also just read and convert regular html? I tried doing h tags and others and it renders them literally.
There is currently alpha support of Markdown. Simply name your files with a .md extension. The H1 (or #) will be the title.
On Mon, Nov 23, 2015 at 3:02 AM, James Campbell notifications@github.com wrote:
Would really like this unless there is a way to also just read and convert regular html? I tried doing h tags and others and it renders them literally.
— Reply to this email directly or view it on GitHub https://github.com/hmngwy/weblog.sh/issues/8#issuecomment-158789727.
Ah, that makes perfect sense. I'll try it out. Thanks!
I tried it and it works great. Using gratipay to micro-support as much as I can which is very minimal right now. Cheers.
Thanks @jamesacampbell! Every bit helps.
I wonder why "Markdown support!!" is always the first thing called for in such projects. Textile is much easier and intuitive, while being just as powerful.
I guess most MD-fanatics simply never heard of Textile. Cannot think of any other logical reason;
Speaking of markdown, markdown support applied a few commits back, closing.
perhaps of note: http://git.z3bra.org/cgit.cgi/monochromatic/tree/tomarkdown.sed