Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
1–10 of 52 posts
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#2Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#3 #LINEAR ALGEBRA
##1. Introduction
**Definition :** A matrix is ... a matrix.
Examples:
$$A = \begin{pmatrix}0&1&-2&3\\5&-3&1&-2\\5&-2&-1&1 \end{pmatrix},\
B = \begin{pmatrix}0&8&-5\\0&0&0\\-1&-9&4\\2&19&-8\\1&1&1\end{pmatrix}$$
(paste it without the 4-spaces indentation)Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#4I'd love to see a couple of features though, namely an HTML export or at least a quick way to view the HTML.
I frequently write in markdown and then have to convert it to HTML for whatever blogging engine I use.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#5I'm a fan. This is really cool and I like the Markdown parser that was chosen. The HTML output looks really damn clean (especially for code blocks). The `ctrl+s` shortcut is pretty sweet, too. I'd love to see a couple of features though, namely an HTML export or at least a quick way to view the HTML. I frequently write in markdown and then have to convert it to HTML for whatever blogging engine I use.
HTML export would be cool, I agree.
The shortcut "CTRL+D" will toggle to preview only (not exactly a quick way to view HTML but at least you see preview only), code only or preview+code view.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#6Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#7If you want to test it quickly, copy+paste the following code in the live version ( https://josephernest.github.io/writing/ ): #LINEAR ALGEBRA ##1. Introduction **Definition :** A matrix is ... a matrix. Examples: $$A = \begin{pmatrix}0&1&-2&3\\5&-3&1&-2\\5&-2&-1&1 \end{pmatrix},\ B = \begin{pmatrix}0&8&-5\\0&0&0\\-1&-9&4\\2&19&-8\\1&1&1\end{pmatrix}$$ (paste it without the 4-spaces indentation)
Obviously the challenge is that they don't correspond line-to-line. Embedding an image is a one-liner of input yet might be hundreds of pixels tall in the preview.
VSCode's Markdown preview does this decently when you're scrolling the preview pane.