3 ms·
Very 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 http://orgmode.org/
by kaushalmodi 9y ago
Very 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 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 https://github.com/josephernest/writing/issues/13
If nothing else, it will at least help somewhat guage the interest in Org mode :)
- kaushalmodi 9y agoI have begun my frail attempt at supporting Org mode here[1]. Calling it frail because I am relying only on my search/replace and regular-expression skills. I don't know Javascript. So JS experts, please help out if you can. [1]: https://github.com/kaushalmodi/writing/tree/org-mode https://github.com/kaushalmodi/writing/tree/org-mode
- kaushalmodi 9y agoHere's the official form of Joseph's writing project that supports Org mode: https://github.com/kaushalmodi/writing-org https://github.com/kaushalmodi/writing-org Live site: https://org.scripter.co 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/master/test.org 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_SRC