[{"data":1,"prerenderedAt":406},["ShallowReactive",2],{"project-21602113":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":45,"post_text":47,"what":48,"said":89,"maker_in_thread":225,"shape":235,"grid":239,"attempts":367,"same_week":368,"maker_shows":397,"maker_hidden":398,"reader_version":399,"card":400},"21602113","TeXMe Demo","Self-Rendering Markdown and LaTeX Documents","title","Show HN: TeXMe Demo – Self-Rendering Markdown and LaTeX Documents","https:\u002F\u002Fopendocs.github.io\u002Ftexme\u002Fexamples\u002Fdemo.html","opendocs.github.io","susam",1574392368,2019,213,54,180,2195,9,"notable","dev_tools","markdown renderer","library",[24,25,26,27,28],"markdown","latex","mathjax","commonmark","html","debated",-0.026,{"positive":32,"neutral":33,"mixed":34,"critical":32},6,7,1,20,{"idea":37,"design":39,"execution":41,"docs":42,"performance":44},{"positive":38,"critical":34},2,{"positive":38,"critical":40},0,{"positive":40,"critical":38},{"positive":40,"critical":43},3,{"positive":40,"critical":40},[40,40,40,40,40,46,46,40,40,40,40,43,46,34,40,40,40,34,40,34,34,46,43,40,40,43,40,43,34,34,40,43,40,43,46,40,40,40,40,40],5,null,{"problem":49,"audience":47,"pricing":47,"motivation":56,"time_to_build":47,"stack":60,"openness":86,"stage":87,"team_size":88},{"value":50,"source":51,"evidence":52},"Writing documents mixing Markdown and LaTeX math and sharing them as web pages without a build step.","maker",[53],{"id":54,"by":11,"text":55},"21602849","Do you mean something like this: https:\u002F\u002Fopendocs.github.io\u002Ftexme\u002Fexamples\u002Finteractive-demo.html? TeXMe can be used in this manner but not out of the box. If you see the source…",{"value":57,"source":51,"evidence":58},"Share documents with friends that render easily by opening them in a web browser.",[59],{"id":54,"by":11,"text":55},[61,73,80],{"value":62,"source":63,"evidence":64},"JavaScript","commenter",[65,69],{"id":66,"by":67,"text":68},"21602935","fastball","I'm not sure I understand what \"self-rendering\" means in this context? You have some javascript that is taking markdown and spitting out HTML, right? How is that different from…",{"id":70,"by":71,"text":72},"21605549","hyperpallium","Would this work offline, by \u003Cscript> referring to your local copy of texme.min.js https:\u002F\u002Fgithub.com\u002Fsusam\u002Ftexme\u002Fblob\u002Fmaster\u002Ftexme.min.js ? Or is there much more to it?",{"value":74,"source":63,"evidence":75},"MathJax",[76],{"id":77,"by":78,"text":79},"21605676","oefrha","Apparently TeXMe needs to load MathJax which in turn needs to load a bunch of fonts, so no, that script alone won't work offline.",{"value":81,"source":51,"evidence":82},"CommonMark",[83],{"id":84,"by":11,"text":85},"21613653","Markdeep is a great project and supports a lot of impressive features. TeXMe on the other hand takes a minimalist approach. There are some fundamental differences between the two…","open_source","launched","solo",{"praise":90,"objections":116,"requests":152,"questions":174,"alternatives":192},[91,102,109],{"value":92,"source":63,"evidence":93},"Rendering quality looks like PDF and reflows well",[94,98],{"id":95,"by":96,"text":97},"21602255","alexmint","Rendering quality is really good. Looks just like PDF.",{"id":99,"by":100,"text":101},"21602312","jimws","> Looks just like PDF. It's better than PDF. Text in PDF is not reflowable. This demo is by virtue of being HTML under the hood. Looks good even after resizing the browser. I…",{"value":103,"source":63,"evidence":104},"Clean, minimal design",[105],{"id":106,"by":107,"text":108},"21605071","nxpnsv","I thought view source tells the story quite well... The document looks very clean.",{"value":110,"source":63,"evidence":111},"Concept of separating content from rendering",[112],{"id":113,"by":114,"text":115},"21602324","bhl","That’s the point of PDFs and EPUBs. If you want resizable PDFs, use EPUB which is an organized and compressed version of HTML. Edit. I think the reason you lose quality during…",[117,127,141,145],{"value":118,"source":63,"evidence":119},"Breaks with code blocks containing dollar signs",[120,124],{"id":121,"by":122,"text":123},"21604122","bachmeier","This project is awesome, but by relying on Commonmark, you can't use this together with code blocks containing $ (meaning it doesn't work for languages like PHP and R). It's…",{"id":125,"by":122,"text":126},"21614496","> Why do you need to typeset math within code blocks or code spans? The problem is that commonmark doesn't recognize math at all. If you want to use texme, you can't have code…",{"value":128,"source":63,"evidence":129},"Maintenance concerns: old issues unanswered, commit surges before posting",[130,134,138],{"id":131,"by":132,"text":133},"21605664","manbash","From a look at the github, there is a sudden \"surge\" or commits, likely to prepare to present it to hackernews. But overall this github doesn't seem to be maintained and users…",{"id":135,"by":136,"text":137},"21614953","n_ary","Most repos are interesting but unmaintained, it appears that author brushes up a repo before posting by commit waves and then present on HN.",{"id":139,"by":136,"text":140},"21615023","> If there are others who might want to help the project by investigating the bugs and\u002For fixing them, they are very welcome. For any fixes merged to the project, I will be…",{"value":142,"source":63,"evidence":143},"Needs JavaScript and MathJax fonts, so not usable offline",[144],{"id":77,"by":78,"text":79},{"value":146,"source":63,"evidence":147},"Static site generators already produce faster pages",[148],{"id":149,"by":150,"text":151},"21602320","chabad360","As cool as this is, I just don't really see the use for this, when static site generators like Hugo and Jekyll exist, and produce pages that will load measurably faster...",[153,160,167],{"value":154,"source":63,"evidence":155},"Pre-rendered static HTML fallback without JavaScript",[156],{"id":157,"by":158,"text":159},"21602725","ncmncm","This is brilliant. All we need now is a way for it to fall back to pre-rendered static html for cases where there is no JS, and to be indexed.",{"value":161,"source":63,"evidence":162},"Support for theorem environments and cross-references",[163],{"id":164,"by":165,"text":166},"21603361","foxes","I prefer katex [0] over mathjax these days. Seems to render a lot faster. I wonder how this compares to Pandoc in terms of features. I really would like a complete solution to…",{"value":168,"source":63,"evidence":169},"Pre-render formulas client-side cost reduction",[170],{"id":171,"by":172,"text":173},"21608369","snicker7","Consider pre-rendering formulas instead of doing it client-side (KateX supports this, dunno about MathJax). In my experience, rendering a lot of equations on screen via MathJax…",[175,179,185],{"value":176,"source":63,"evidence":177},"What does self-rendering mean here and how does it differ from existing JS libraries",[178],{"id":66,"by":67,"text":68},{"value":180,"source":63,"evidence":181},"Can it be used as an editor",[182],{"id":183,"by":114,"text":184},"21602313","Given that it’s parsing from a textarea, can TeXMe be used as an editor? I think some contenteditable editors have the rendering from markdown as well.",{"value":186,"source":63,"evidence":187},"Does it support full LaTeX or only math",[188],{"id":189,"by":190,"text":191},"21606923","billconan","is this just latex math or the full latex?",[193,200,210,214,221],{"value":194,"source":63,"evidence":195},"Markdeep",[196],{"id":197,"by":198,"text":199},"21604454","doersino","Markdeep [1] does something very similar. (Disclaimer: Not my project, but I've developed several Markdeep-adjacent tools [2][3].) [1]: https:\u002F\u002Fcasual-effects.com\u002Fmarkdeep\u002F [2]:…",{"value":201,"source":63,"evidence":202},"Jupyter notebooks",[203,206],{"id":204,"by":78,"text":205},"21602765","Pretty nice, although these days if when I need Markdown + LaTeX, most often I just create an .ipynb, put it on GitHub (which could render Jupyter notebooks, including…",{"id":207,"by":208,"text":209},"21603414","Foivos","Have you tried Jupyter notebooks? I do not know if they handle references, but it does the rest you want. The markdown cella support latex math and you can include figures or…",{"value":211,"source":63,"evidence":212},"Pandoc",[213],{"id":164,"by":165,"text":166},{"value":215,"source":63,"evidence":216},"RMarkdown",[217],{"id":218,"by":219,"text":220},"21607008","semi-extrinsic","Have you tried RMarkdown? It is a lot more focused on producing a pdf or html document than what Jupyter is. It even has decent support for cross-references, and for citations…",{"value":222,"source":63,"evidence":223},"Hugo and Jekyll",[224],{"id":149,"by":150,"text":151},{"comments":226,"answered":34,"key":227},4,[228,229,232],{"id":84,"text":85},{"id":230,"text":231},"21605933","You are right. When I was about to share the project demo page today, I realized that it should have a link to the project README, so that visitors can read how to use this…",{"id":233,"text":234},"21618277","Thank you for the feedback. I usually do not prefer commenting on an issue when I know I cannot add something new about the issue. At the same time, I understand your point about…",{"commenters":236,"max_depth":46,"maker_replies":226,"first_comment_mins":237,"lifespan_hours":238},36,35,70,[240,242,244,247,250,252,253,257,259,262,263,264,267,269,270,272,276,278,280,283,285,287,288,290,292,293,294,295,296,300,303,306,310,313,316,318,320,323,324,327,330,334,338,341,345,348,350,351,352,354,356,359,361,364],[204,40,40,241,78,40],"other\u002Fneutral\u002Fnone",[243,40,40,241,122,40],"21604074",[245,40,40,241,246,40],"21604323","wodenokoto",[248,40,40,241,249,40],"21604356","thegginthesky",[251,40,40,241,78,40],"21604428",[197,34,40,241,198,40],[254,34,46,255,256,40],"21604804","project\u002Fpositive\u002Fnone","dteiml",[84,34,40,258,11,34],"maker\u002Fneutral\u002Fnone",[260,34,46,255,261,40],"21614290","masukomi",[164,38,40,241,165,40],[207,38,40,241,208,40],[265,38,40,241,266,40],"21603886","lrem",[268,38,40,241,208,40],"21619514",[218,38,40,241,219,40],[66,43,43,271,67,40],"project\u002Fneutral\u002Fidea",[273,43,40,274,275,40],"21603071","commenter\u002Fneutral\u002Fidea","rambojazz",[106,43,46,277,107,40],"project\u002Fpositive\u002Fdesign",[121,226,34,279,122,40],"project\u002Fcritical\u002Fexecution",[281,226,40,282,78,40],"21604523","commenter\u002Fneutral\u002Fnone",[284,226,40,282,122,40],"21606374",[286,226,40,282,78,40],"21606718",[125,226,40,282,122,40],[289,226,40,282,261,40],"21614450",[131,46,34,291,132,40],"maker\u002Fcritical\u002Fdocs",[230,46,40,258,11,34],[139,46,34,291,136,40],[233,46,40,258,11,34],[135,46,34,291,136,40],[297,32,46,298,299,40],"21602810","project\u002Fpositive\u002Fidea","tomrod",[301,33,40,241,302,40],"21603105","yig",[157,304,43,305,158,40],8,"project\u002Fmixed\u002Fidea",[307,304,40,308,309,40],"21603021","commenter\u002Fcritical\u002Fidea","rcthompson",[311,304,40,312,158,40],"21624642","commenter\u002Fpositive\u002Fidea",[314,18,40,241,315,40],"21603465","skywal_l",[183,317,43,271,114,40],10,[54,317,40,319,11,34],"maker\u002Fneutral\u002Fidea",[70,321,43,322,71,40],11,"project\u002Fneutral\u002Fexecution",[77,321,34,279,78,40],[171,325,43,326,172,40],12,"project\u002Fneutral\u002Fperformance",[149,328,34,329,150,40],13,"project\u002Fcritical\u002Fidea",[331,332,40,241,333,40],"21605491",14,"smabie",[335,336,43,271,337,40],"21602365",15,"enhdless",[339,336,43,326,340,40],"21607863","kbr2000",[342,343,40,241,344,40],"21606073",16,"jhoechtl",[189,346,43,347,190,40],17,"project\u002Fneutral\u002Fnone",[95,349,46,277,96,40],18,[99,349,46,298,100,40],[113,349,40,312,114,40],[353,349,40,282,78,40],"21602856",[355,349,40,241,78,40],"21602818",[357,349,40,241,358,40],"21603660","jahewson",[360,349,40,241,78,40],"21603888",[362,349,40,241,363,40],"21605795","adiM",[365,349,40,308,366,40],"21603859","enriquto",[],[369,373,378,383,387,392],{"id":370,"name":371,"points":372,"category":20},"21639525","Coscreen.co",404,{"id":374,"name":375,"points":376,"category":377},"21648096","AnonAddy",393,"productivity",{"id":379,"name":380,"points":381,"category":382},"21617016","Hacker News Title Edit Tracker",366,"web_saas",{"id":384,"name":385,"points":386,"category":20},"21639066","patchbay.pub",362,{"id":388,"name":389,"points":390,"category":391},"21594436","tamagotchi",256,"games",{"id":393,"name":394,"points":395,"category":396},"21627714","IMGZ",248,"infrastructure",19,false,"v2",{"id":401,"name":5,"line":6,"ai":398,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":402,"top":18,"kw":403,"maker":11,"domain":10,"tier":19,"attempts":40,"strip":404,"url":9,"mix":405,"praise":92,"objection":118,"sub":21},21602113,-0.03,[24,25,26,27,28],"0000055000035100010115300303110303500000",[32,33,34,32],1793990998534]