Why can't web browsers render basic markdown natively (no plugins)? Wouldn't that be a much simpler and more secure parser than HTML? A Markdown Web would look like the early Web.
Show HN: Markdown page – Create a web page with just markdown
41–50 of 86 posts
Re: Show HN: Markdown page – Create a web page with just markdown
#42Earlier quoted context omitted.
it is just as easy to read and write as markdown, and it does not require javascript libraries to be rendered
Is there a WYSIWYG simple editor for creating documents in HTML5? Something that's basically wordpad and produces pages that actually look the same on different browsers? Documentation for my projects is currently in raw ASCII because I couldn't find a satisfactory solution.
Re: Show HN: Markdown page – Create a web page with just markdown
#43Re: Show HN: Markdown page – Create a web page with just markdown
#44Interesting. Out of curiosity, does anyone know if is there a webserver that natively converts Markdown to HTML?
I don't know about dynamic webservers.
Re: Show HN: Markdown page – Create a web page with just markdown
#45Why can't web browsers render basic markdown natively (no plugins)? Wouldn't that be a much simpler and more secure parser than HTML? A Markdown Web would look like the early Web.
Re: Show HN: Markdown page – Create a web page with just markdown
#46A neat party trick, but what actual use-case is there that isn't better served by server-side Markdown to HTML conversion?
Here are three use-cases: 1. You are editing documents locally on your computer. This lets you double-click to view nice markdown in a web browser with a `file://` url. 2. You are editing a website, but don't have control over the server-side code. 3. You don't want to install a markdown rendering library on the server.
You don't have control over the server-side code, but it will let you inject tags into the content? That seems a bit weird.
Re: Show HN: Markdown page – Create a web page with just markdown
#47Interesting. Out of curiosity, does anyone know if is there a webserver that natively converts Markdown to HTML?
Re: Show HN: Markdown page – Create a web page with just markdown
#48I take notes and write personal documentation in Markdown for tickets and projects. Nowadays I usually write in Visual Studio Code or Vim. I can see myself using this to share pages with people. Although I wonder how my syntax highlighting will work - I guess I'll have to write a shell script to copy the .md file to .html and insert the call to the md-page.js at the top.
Re: Show HN: Markdown page – Create a web page with just markdown
#49pandoc -s input.md -t html -o output.html
Re: Show HN: Markdown page – Create a web page with just markdown
#50Why can't web browsers render basic markdown natively (no plugins)? Wouldn't that be a much simpler and more secure parser than HTML? A Markdown Web would look like the early Web.
Browser now _interprets_ content as markdown until end of div.
It would make user-submitted content so much better since you could just directly embed bbcode, markdown, etc. without needing to parse it to html or validate that their submission is valid html/only using approved tags, etc.