Live data from Hacker News

Show HN: Markdown page – Create a web page with just markdown

github.com

61–70 of 86 posts

Re: Show HN: Markdown page – Create a web page with just markdown

#62
post #38

Earlier quoted context omitted.

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 are editing a website, but don't have control over the server-side code. 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.

GitHub pages is literally like this, no?

Re: Show HN: Markdown page – Create a web page with just markdown

#64
post #57

This is kind of neat but why not just use pandoc? pandoc -s input.md -t html -o output.html https://pandoc.org/

Why would you want to constantly recompile documents every time you make an edit to them? Why would you want to juggle two files for every document you produce?

Sooo a live editor like this? http://www2.hyperfiddle.net/:markdown/ If you like that, here's a little tweetstorm about hyperfiddle markdown: https://twitter.com/dustingetz/status/1048686717975388160

Re: Show HN: Markdown page – Create a web page with just markdown

#65

Throwing in to the list of alternatives to this: http://mdwiki.info which actually does not even require you to create a .html file, but just plain .md files and a standard/template version of mdwiki as index.html. Disclaimer: I am the author of it, and it is nowadays unmaintained.

Why did you archive the repo?

Re: Show HN: Markdown page – Create a web page with just markdown

#66

I wonder what effect having a page solely in markdown has on SEO? Without markup for headers, links, etc, how will search engines prioritize content? Will they use the raw content or the parsed HTML?

I'd imagine anyone particularly concerned with SEO would be likely to prefer a more fully-featured method of content management anyway.

Re: Show HN: Markdown page – Create a web page with just markdown

#67

Earlier quoted context omitted.

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.

WYSIWYG editors are evil as they mostly produce crap code, good news are you don't need a WYSIWYG editor with markdown as it's very easy for [almost] everybody to write by hand.

I dunno, I like the WYSIWYG editors built around Draft.js[0]

0: https://draftjs.org/

Re: Show HN: Markdown page – Create a web page with just markdown

#70

Honestly, I prefer writing directly plain html5 with implicit tags. I cannot see any advantage of markdown over html for this particular usage.

Markdown doesn't require tag closure, and eliminates the

tag entirely. This makes for a cleaner and faster composing experience.

I did little but wruite in HTML from the late 1990s to mid 2010s. Markdown is my preferred route now.

Also conversant in LaTeX, formerly; nroff, DocBook, WP4.2, Wordstar (both with 'reveal codes' capabilities), and probably more. Pandoc is a game-changer.

Post reply on HN