I have a flicker issue mostly because I'm sending the markdown up to the cluster of servers for rendering.
Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
41–50 of 52 posts
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#42Anyone interested can take a look.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#43Org syntax for the uninitiated: http://orgmode.org/worg/dev/org-syntax.html
It's very similar to Markdown if using Org just as a markup.
---
Can folks interested in Org mode support please upvote this issue: https://github.com/josephernest/writing/issues/13
If nothing else, it will at least help somewhat guage the interest in Org mode :)
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#44For me, the most satisfying markdown editor is Typora( https://typora.io/ ), which doesn't need a separate preview pane to show the rendered contents. But I haven't tried the Math support of it yet. After using Typora for a long time, I really don't think a separate preview is that necessary.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#45Earlier quoted context omitted.
What do you mean? At https://josephernest.github.io/writing/ it includes cmunrm.otf: @font-face { font-family: texroman; src: url(cmunrm.otf); /* https://tex.stackexchange.com/a/267197/27733 */ } And a spot check of some of symbols in the rendered math seems to prove it is Computer Modern. Funnily for me, just today I was telling a colleague how I'm happy to see math textbooks that aren't in Computer Modern.
Computer Modern is not a good font. No professional designer would use it for long body text. The only reason it's still used in CS papers is a persistent blend of hero worship (it's by Knuth!), implementation fetishism (it's a Metafont!), and plain old cargo cult.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#46Very cool! It would be nice to see an Org mode version of this. Org syntax for the uninitiated: http://orgmode.org/worg/dev/org-syntax.html It's very similar to Markdown if using Org just as a markup. --- Can folks interested in Org mode support please upvote this issue: https://github.com/josephernest/writing/issues/13 If nothing else, it will at least help somewhat guage the interest in Org mode :)
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#47For me, the most satisfying markdown editor is Typora( https://typora.io/ ), which doesn't need a separate preview pane to show the rendered contents. But I haven't tried the Math support of it yet. After using Typora for a long time, I really don't think a separate preview is that necessary.
but when you're using a full range of complex features, it is.
and when something isn't displaying the way you intend, you often need to view the input _with_ the output, to see exactly what's causing the problem and to test possible solutions.
i also found that, while typora is good at showing what the output looks like in a browser-window which is sized exactly like the one you are typing in, it's less informative at showing what the content will look like in a .pdf or a .mobi or an .epub.
and, just for the sake of completion here, typora also became very unresponsive when i tested it with large files. again, not everyone will have that problem, but some users definitely will.
but i'll give typora another go, and see if it's improved since i last tried it...
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#48If 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)
One cool feature would be to scroll-lock the input with the output when scrolling the output pane. 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.
but oftentimes you don't.
the trick is finding a good way to walk that tightrope.
Re: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#49Very cool! It would be nice to see an Org mode version of this. Org syntax for the uninitiated: http://orgmode.org/worg/dev/org-syntax.html It's very similar to Markdown if using Org just as a markup. --- Can folks interested in Org mode support please upvote this issue: https://github.com/josephernest/writing/issues/13 If nothing else, it will at least help somewhat guage the interest in Org mode :)
Live site: https://org.scripter.co
I got the below Org syntax to work so far.. You can try by copying the test file I have so far ( https://raw.githubusercontent.com/kaushalmodi/writing-org/ma... ) and pasting in the above live site.
Pasting the same below just for reference.
* Heading level 1
** Heading level 2
*** Heading level 3
Paragraphs get created
only after an empty line.
This will be a new paragraph.
* List syntax is the same as Markdown
- List 1
- List 2
asdf (*!bug!* non-list breaker text should not be needed. Two empty lines should end a list.)
1. Ordered
2. Ordered
*!bug!* No white-space following an ordered list.
* Inline Code
=code=
== =code= ==
== abc = def ==
* Bold
*bold*
*bold * asdf*
- Press =Ctrl+B= to toggle bold.
* Italics
/italics / adsf/
- Press =Ctrl+I= to toggle italics.
* Horizontal rule
Above the horizontal rule
-----
Below the horizontal rule
* Source blocks
#+BEGIN_SRC emacs-lisp
(message "foo")
#+END_SRCRe: Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
#50For me, the most satisfying markdown editor is Typora( https://typora.io/ ), which doesn't need a separate preview pane to show the rendered contents. But I haven't tried the Math support of it yet. After using Typora for a long time, I really don't think a separate preview is that necessary.