[{"data":1,"prerenderedAt":480},["ShallowReactive",2],{"project-18154825":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":44,"post_text":47,"what":48,"said":89,"maker_in_thread":213,"shape":222,"grid":226,"attempts":443,"same_week":444,"maker_shows":33,"maker_hidden":472,"reader_version":473,"card":474},"18154825","Markdown page","Create a web page with just markdown","title","Show HN: Markdown page – Create a web page with just markdown","https:\u002F\u002Fgithub.com\u002Foscarmorrison\u002Fmd-page","github.com","oscargeorge",1538829130,2018,169,84,226,2155,11,"notable","dev_tools","markdown to web page renderer","library",[24,25,26,27,28],"markdown","html","showdown","static page","client-side rendering","mixed",-0.229,{"positive":32,"neutral":32,"mixed":33,"critical":34},7,1,14,29,{"idea":37,"docs":40,"execution":42},{"positive":38,"critical":39},6,10,{"positive":41,"critical":41},0,{"positive":33,"critical":43},4,[45,33,41,33,41,33,45,41,33,33,33,41,46,41,45,33,41,41,46,33,45,41,33,46,33,46,33,45,45,41,41,41,41,41,41,46,41,41,41,33],3,5,null,{"problem":49,"audience":59,"pricing":47,"motivation":64,"time_to_build":47,"stack":68,"openness":86,"stage":87,"team_size":88},{"value":50,"source":51,"evidence":52},"Publishing a simple web page from markdown without HTML knowledge or a server-side converter","maker",[53,56],{"id":54,"by":11,"text":55},"18158781","Thanks everyone for taking the time to look, and give some feedback. Most definitely better options out there, but I was really aiming for simple, and low tech knowledge to get a…",{"id":57,"by":11,"text":58},"18155066","Sometimes I just want to get some information out there on the internet, and rather than sharing a Evernote page or having to create a webpage I can just write markdown. Main…",{"value":60,"source":51,"evidence":61},"People who want to share markdown docs publicly with low technical effort",[62,63],{"id":54,"by":11,"text":55},{"id":57,"by":11,"text":58},{"value":65,"source":51,"evidence":66},"Share markdown docs easily without a conversion pipeline or sharing an Evernote page",[67],{"id":57,"by":11,"text":58},[69,77],{"value":70,"source":71,"evidence":72},"JavaScript","inferred",[73],{"id":74,"by":75,"text":76},"18155582","Kagerjay","So how does this work exactly? It looks like you wrote a script.js file, which calls showdown.js library (converting markdown to html). A uglified version called `md-page` is…",{"value":78,"source":79,"evidence":80},"showdown.js","commenter",[81,82],{"id":74,"by":75,"text":76},{"id":83,"by":84,"text":85},"18155396","mygo","Back in 2013 I did a similar thing for a client with a popular code library. Their documentation was written in markdown and the site was hosted on static hosting, so no…","open_source","launched","unknown",{"praise":90,"objections":117,"requests":150,"questions":166,"alternatives":180},[91,106],{"value":92,"source":79,"evidence":93},"Simple and easy to publish with",[94,98,102],{"id":95,"by":96,"text":97},"18155336","themodelplumber","Props for the simplicity in getting something published. That's really cool. Along similar lines, I went back to LibreOffice recently and made a few web pages with it, just to…",{"id":99,"by":100,"text":101},"18156924","das_keyboard","I looked for something exactly like this a while ago. Thank you very much for posting this.",{"id":103,"by":104,"text":105},"18156391","major505","That will be usefull. Nice work.",{"value":107,"source":79,"evidence":108},"Solves the no-server markdown rendering use case",[109,113],{"id":110,"by":111,"text":112},"18156287","toomim","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:\u002F\u002F` url. 2. You…",{"id":114,"by":115,"text":116},"18156315","hachibu","Awesome, nice work! I like the simple usage of just adding a script tag to the top. I also experimented with this idea[1]. [1] - https:\u002F\u002Fgithub.com\u002Fhachibu\u002Fmd_spa",[118,129,140],{"value":119,"source":79,"evidence":120},"pandoc or server-side conversion already does this",[121,125],{"id":122,"by":123,"text":124},"18156603","rubyn00bie","This is kind of neat but why not just use pandoc? pandoc -s input.md -t html -o output.html https:\u002F\u002Fpandoc.org\u002F",{"id":126,"by":127,"text":128},"18155028","majewsky","A neat party trick, but what actual use-case is there that isn't better served by server-side Markdown to HTML conversion?",{"value":130,"source":79,"evidence":131},"Flicker on page load and blank page in some browsers",[132,136],{"id":133,"by":134,"text":135},"18155555","jchw","The flicker when loading the page sucks. I guess displaying Markdown in case of failure is not the worst thing, but it would be nice if there was a possible way to allow getting…",{"id":137,"by":138,"text":139},"18155115","eeZah7Ux","http:\u002F\u002Foscarmorrison.com\u002Fmd-page\u002F shows only a blank page on firefox. I even disabled NoScript for the site. Thanks, I'd rather have plain HTML.",{"value":141,"source":79,"evidence":142},"Plain HTML is simpler with no JavaScript dependency",[143,147],{"id":144,"by":145,"text":146},"18155143","enriquto","Honestly, I prefer writing directly plain html5 with implicit tags. I cannot see any advantage of markdown over html for this particular usage.",{"id":148,"by":145,"text":149},"18155216","it is just as easy to read and write as markdown, and it does not require javascript libraries to be rendered",[151,159],{"value":152,"source":79,"evidence":153},"Use noscript or script tag to avoid load flicker",[154,155],{"id":133,"by":134,"text":135},{"id":156,"by":157,"text":158},"18155943","matt-tingen","An option for the best of both worlds would be to wrap the markdown in a \u003Cnoscript> tag.",{"value":160,"source":79,"evidence":161},"Support grids and richer features",[162],{"id":163,"by":164,"text":165},"18156690","kyledrake","This is more evidence to me that \u003Cxmp> needs to not go away, I know browsers are considering it and I really hope they don't go that route. I use \u003Cxmp> for html code commenting -…",[167,174],{"value":168,"source":79,"evidence":169},"How does search engine SEO handle markdown-only pages",[170],{"id":171,"by":172,"text":173},"18156656","watchdogtimer","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…",{"value":175,"source":79,"evidence":176},"How the hash-link setTimeout works",[177],{"id":178,"by":75,"text":179},"18162261","https:\u002F\u002Fgithub.com\u002Foscarmorrison\u002Fmd-page\u002Fblob\u002Fmaster\u002Fscript.js Line 43 to 48, I am not entirely sure what that hashlink does. What is the setTimeout function for? Could you…",[181,185,192,199,206],{"value":182,"source":79,"evidence":183},"pandoc",[184],{"id":122,"by":123,"text":124},{"value":186,"source":79,"evidence":187},"Strapdownjs",[188],{"id":189,"by":190,"text":191},"18155427","gprasanth","There has been Strapdownjs[1] around for quite a while now. It's simple, supports some theming as well. Anyway, good luck with this. Always fun to build something from scratch.…",{"value":193,"source":79,"evidence":194},"mdwiki",[195],{"id":196,"by":197,"text":198},"18155349","littlecranky67","Throwing in to the list of alternatives to this: http:\u002F\u002Fmdwiki.info which actually does not even require you to create a .html file, but just plain .md files and a…",{"value":200,"source":79,"evidence":201},"Markdeep",[202],{"id":203,"by":204,"text":205},"18155033","FraaJad","[Markdeep](https:\u002F\u002Fcasual-effects.com\u002Fmarkdeep\u002Ffeatures.md.html) has waaay more features than this.",{"value":207,"source":79,"evidence":208},"Jr and Dr",[209],{"id":210,"by":211,"text":212},"18155159","jonathonf","I think this has already been done by Jr [1]. And for other markup languages, e.g. Dr [2] for AsciiDoc. [1] https:\u002F\u002Fgithub.com\u002FXeoncross\u002Fjr [2] https:\u002F\u002Fgithub.com\u002Fjonathonf\u002FDr",{"comments":18,"answered":43,"key":214},[215,216,219],{"id":54,"text":55},{"id":217,"text":218},"18155034","Thanks @posamari for the feedback, I was a bit generous with the title. I have updated HN title and GitHub Readme.",{"id":220,"text":221},"18155048","haha. thanks @boffinism",{"commenters":223,"max_depth":38,"maker_replies":18,"first_comment_mins":224,"lifespan_hours":225},61,49,39,[227,229,231,235,238,241,244,247,250,253,256,259,260,261,265,267,270,271,274,276,279,280,282,285,288,289,290,292,295,297,300,302,304,307,308,312,315,317,319,322,324,326,327,329,332,335,338,340,343,346,348,350,351,353,357,361,364,366,368,369,371,374,378,381,384,387,390,393,395,398,400,403,406,410,412,417,420,423,426,428,430,432,435,439],[95,41,46,228,96,41],"project\u002Fpositive\u002Fidea",[122,33,33,230,123,41],"project\u002Fcritical\u002Fidea",[232,33,41,233,234,41],"18156650","commenter\u002Fneutral\u002Fnone","LeoPanthera",[236,33,33,230,237,41],"18156762","Aelius",[239,33,41,233,240,41],"18156853","kryptk",[242,33,41,233,243,41],"18158764","askmike",[245,33,33,230,246,41],"18157339","dustingetz",[248,33,41,233,249,41],"18156975","ms013",[251,33,41,233,252,41],"18157171","vortico",[254,33,41,233,255,41],"18159323","BrandoElFollito",[54,257,41,258,11,33],2,"maker\u002Fneutral\u002Fnone",[189,45,33,230,190,41],[163,45,41,233,164,41],[262,43,45,263,264,41],"18155017","project\u002Fmixed\u002Fdocs","posamari",[217,43,41,266,11,33],"maker\u002Fneutral\u002Fdocs",[268,43,41,233,269,41],"18155041","boffinism",[220,43,41,258,11,33],[272,43,33,273,264,41],"18160956","project\u002Fcritical\u002Fexecution",[196,46,45,275,197,41],"project\u002Fneutral\u002Fidea",[277,46,41,233,278,41],"18157356","Evidlo",[126,38,33,230,127,41],[57,38,41,281,11,33],"maker\u002Fneutral\u002Fidea",[283,38,33,273,284,41],"18155190","jonnydubowsky",[286,38,41,287,11,33],"18155279","maker\u002Fneutral\u002Fexecution",[83,38,41,233,84,41],[110,38,46,228,111,41],[291,38,41,233,127,41],"18156539",[293,38,41,233,294,41],"18157169","slimsag",[296,38,41,233,127,41],"18161981",[298,32,46,228,299,41],"18156556","bloopernova",[210,301,33,230,211,41],8,[144,303,33,230,145,41],9,[305,303,41,233,306,41],"18155152","fastball",[148,303,41,233,145,41],[309,303,41,310,311,41],"18155626","other\u002Fneutral\u002Fnone","AnIdiotOnTheNet",[313,303,41,310,314,41],"18156448","qwerty456127",[316,303,41,310,306,41],"18157723",[318,303,41,310,145,41],"18156647",[320,303,46,228,321,41],"18158193","dredmorbius",[323,303,41,233,145,41],"18159014",[325,303,41,233,321,41],"18159362",[133,39,33,273,134,41],[156,39,45,328,157,41],"project\u002Fneutral\u002Fexecution",[330,39,45,328,331,41],"18156087","judofyr",[333,39,41,334,11,33],"18158757","maker\u002Fpositive\u002Fexecution",[336,39,41,337,11,33],"18158617","maker\u002Fneutral\u002Fperformance",[171,18,45,339,172,41],"project\u002Fneutral\u002Fnone",[341,18,33,230,342,41],"18157542","bitofhope",[344,18,41,310,345,41],"18158441","bunnycorn",[99,347,46,228,100,41],12,[114,349,45,275,115,41],13,[137,34,33,273,138,41],[352,34,41,287,11,33],"18155126",[354,34,46,355,356,41],"18155198","project\u002Fpositive\u002Fexecution","ummonk",[358,359,33,230,360,41],"18158056",15,"dplgk",[362,359,41,233,363,41],"18160074","graylien",[74,365,45,328,75,41],16,[367,365,41,287,11,33],"18158738",[178,365,45,328,75,41],[370,365,41,287,11,33],"18162853",[372,365,41,373,11,33],"18164042","project\u002Fneutral\u002Fdocs",[375,376,41,310,377,41],"18156493",17,"Crontab",[379,376,41,310,380,41],"18156498","Yoric",[382,376,41,310,383,41],"18156549","detroitenglish",[385,376,41,310,386,41],"18156680","crempp",[388,376,41,310,389,41],"18156708","marcuskaz",[391,376,41,310,392,41],"18158001","aethertron",[203,394,41,233,204,41],18,[396,394,41,233,397,41],"18155926","arkades",[399,394,41,233,204,41],"18156119",[401,394,41,233,402,41],"18158607","elcomet",[404,394,41,233,405,41],"18155929","SeriousM",[407,394,41,408,409,41],"18156020","commenter\u002Fcritical\u002Fnone","guessmyname",[103,411,46,228,104,41],19,[413,414,41,415,416,41],"18155001",20,"other\u002Fneutral\u002Fidea","walterbell",[418,414,41,310,419,41],"18155006","samatman",[421,414,41,310,422,41],"18155007","krapp",[424,414,41,310,425,41],"18155010","waivek",[427,414,41,310,416,41],"18155057",[429,414,41,415,314,41],"18156434",[431,414,41,415,380,41],"18156510",[433,414,41,415,434,41],"18156632","bowlich",[436,437,41,310,438,41],"18155539",21,"sandGorgon",[440,441,33,230,442,41],"18157021",22,"wetpaws",[],[445,449,454,459,463,468],{"id":446,"name":447,"points":448,"category":20},"18166538","Alan",413,{"id":450,"name":451,"points":452,"category":453},"18166753","aiortc",216,"languages",{"id":455,"name":456,"points":457,"category":458},"18154427","Trigonoparty",144,"learning_science",{"id":460,"name":461,"points":462,"category":20},"18183334","Percollate",123,{"id":464,"name":465,"points":466,"category":467},"18166090","Firebase2graphql",114,"infrastructure",{"id":469,"name":470,"points":471,"category":453},"18155262","Fork",58,false,"v2",{"id":475,"name":5,"line":6,"ai":472,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":476,"top":18,"kw":477,"maker":11,"domain":10,"tier":19,"attempts":41,"strip":478,"url":9,"mix":479,"praise":92,"objection":119,"sub":21},18154825,-0.23,[24,25,26,27,28],"3101013011105031005130151513300000050001",[32,32,33,34],1793990980410]