[HN Gopher] Show HN: TeXMe - Create self-rendering Markdown + La...
       ___________________________________________________________________
        
       Show HN: TeXMe - Create self-rendering Markdown + LaTeX documents
        
       Author : susam
       Score  : 55 points
       Date   : 2021-05-29 11:02 UTC (1 days ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | [deleted]
        
       | azalemeth wrote:
       | Out of curiosity, is there anything modern like the reverse of
       | this project -- write LaTeX (e.g. with a `tufte` documentclass)
       | and end up with a beautiful, _similarly_ rendered webpage?
        
         | leephillips wrote:
         | Not possible in general (TeX is a programming language), but
         | there are plenty of projects that try to translate a subset of
         | TeX/LaTeX into HTML that sort of approximates what the rendered
         | TeX document looks like. A better approach is to write in
         | Pandoc-flavored markdown and convert to HTML, TeX, etc.
        
       | rajandatta wrote:
       | An intriguing idea. Very nice. Will study further.
        
       | [deleted]
        
       | [deleted]
        
       | asimjalis wrote:
       | Is there something like this that renders markdown to GitHub
       | readme-style HTML?
        
         | vlmutolo wrote:
         | Pandoc + a good HTML template should get you there.
        
         | jjjbokma wrote:
         | I am not sure how close pandoc comes to your requirements?
         | 
         | https://pandoc.org/
        
         | offbynull wrote:
         | I use a CSS [0] to style the rendered output from markdown-it
         | [1]. It works pretty well for me.
         | 
         | [0] https://github.com/sindresorhus/github-markdown-css
         | 
         | [1] https://github.com/markdown-it/markdown-it
        
         | foob wrote:
         | There's an open-source project called grip [1] that can render
         | markdown to HTML that looks almost identical to the GitHub
         | rendering. It can do either live preview or export to HTML. I
         | use it for previewing GitHub READMEs while I edit them, and it
         | does an excellent job for that purpose.
         | 
         | [1] https://github.com/joeyespo/grip
        
       | mlyle wrote:
       | "...In practice though, it is not necessary to write verbose code
       | like this. All browsers follow the robustness principle..."
       | 
       | I don't quite like this line-- pointing out that others are
       | following the robustness principle, so we needn't bother.
        
       ___________________________________________________________________
       (page generated 2021-05-30 23:01 UTC)