HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
susam
texme
JavaScript2018–2022
susam / texme

texme

Self-rendering Markdown + LaTeX documents

17Distinct people
33Mentions
1Explicit recommenders
2.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Self-rendering Markdown + LaTeX documents

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

This is an update to the above comment. TeXMe and MdMe (stripped down fork of TeXMe) now support Markdeep style of putting the content directly in the <body> element (i.e.,…

susam used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 12:01:57 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year33 dated mentions

Observed mentions: 2018-10-26 09:07:40 UTC to 2022-09-17 10:14:02 UTC.

02468102018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 8 mentions; 3 submissions, 5 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 10 mentions; 3 submissions, 7 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC514
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC808
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC835
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC1037
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC202

What Hacker News says

8 sources
Do you mean something like this: https://opendocs.github.io/texme/examples/interactive-demo.h...? TeXMe can be used in this manner but not out of the box. If you see the source code of this interactive demo page, it uses the texme.render() function call from the TeXMe API to take input from the textarea element and render it in a div element. Providing an interactive editor was not the goal of this project. The goal of this project was to write a text file using a mix of LaTeX and Markdown (while conforming to CommonMark specification as much as possible) and then share this file with my friends in such a way that they can render it easily by just opening it in a web browser. As a result, it completely replaces the textarea element with the rendered HTML. If someone wants to take this project and create an interactive editor with it, plea
Read the rest
se feel free to fork this project and do so. If you face any problems, please let me know by filing issues on the GitHub project: https://github.com/susam/texme.
In Show HN: TeXMe Demo – Self-Rendering Markdown and LaTeX Documents
I came here to say the same thing. Looks like the author did not use a good authoring tool to produce good math output. I generally take notes like this with LaTeX and compile them to PDF but PDFs can be large and if committing to a Git repo can lead to large .git directories. The BasicTeX package for Mac (brew install basictex) has worked well for me: http://www.tug.org/mactex/morepackages.html These days I also take math notes as plain HTML files containing Markdown and LaTeX, then render with the TeXme one-liner here: https://github.com/susam/texme I guess what the OP has done here is take all the notes in Word or some other WYSIWYG document editor not specialized for mathematical typography and converted the whole document to PDF. This won't lead to good results. It is absolutely necessary to use tools specialized for mathematical typ
Read the rest
ography to write and publish math. By the way, is there anyway to create high quality math distributables that are both self-contained and lightweight?
In Mathematics all-in-one cheat-sheet (2013) [pdf]
Similar topics are coming up often on HN recently. I think it's time Markdown should be supported natively by browsers. Until then, there are things like: TeXMe (https://github.com/susam/texme): This is my personal favorite because it supports the CommonMark standard of Markdown and also LaTeX via MathJax. I like standards so that I know that the Markdown I write (especially nested lists, code within nested lists, etc.) get rendered the same way everywhere. I write some math too, so MathJax support is useful. If you are looking for something where you can just slap together Markdown and LaTeX and turn the document instantly into a paper-like finish, this is a good choice. The output can be saved as PDF or printed too just like you would print any paper. MdMe (https://github.com/susam/mdme): This is pretty much TeXMe without MathJax suppor
Read the rest
t. Markdeep (https://casual-effects.com/markdeep/): This is like TeXMe but it supports a lot of features like diagrams, tables, etc. But it comes at the cost of standard conformance. Markdeep does not conform to CommonMark. I don't need these additional features for most of my writing but I care about standard conformance, so I go with TeXMe but if you need these features then Markdeep is a good choice. Comparison of TeXMe vs. Markdeep by the author: https://news.ycombinator.com/item?id=18314175
In Convert Markdown to PDF only using browser
I do the same thing (markdown and mathjax) but I use TeXMe (https://github.com/susam/texme). I like TeXMe a lot because it turns any Markdown and LaTeX notes into a self-rendering file. Just open your Markdown+LaTeX notes in any browser and it renders itself beautifully, almost looks like a paper. It is not wysiwyg though. But for me the convenience of distributing my Markdown+LaTeX source itself that can render in any browser without a separate compilation/processing step is a huge win! See https://github.com/susam/texme#get-started if you are curious how it works.
In How I'm able to take notes in mathematics lectures using LaTeX and Vim
I have a similar but simpler setup. The crucial difference in my setup is that instead of using full blown LaTeX, I use TeXMe -- https://github.com/susam/texme -- which supports Markdown and LaTeX. So I write plain text files with Markdown + LaTeX, slap a single line of TeXMe JavaScript either at the top or bottom, and open the file with browser to see the rendered math. Like the OP I use Vim too with some customization with :ino and :ab. Nothing beats the editing productivity and convenience of Vim!
In How I'm able to take notes in mathematics lectures using LaTeX and Vim

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.