News for hackers. Stuff that matters.
Re:Notes on Emacs Org Mode by kramerger on Friday January 19, 2024 @07:56AM (#39054891)
I know it is not the primary use of Org mode, but does anyone uses org mode for documentation (instead of .md or .rst markdown files)?
Re:Notes on Emacs Org Mode by goku12 on Friday January 19, 2024 @08:13AM (#39055017)
Org mode is actually a great lightweight markup format - much more standardized and rational than markdown. I maintain my knowledge base on it using org-roam. Org roam forms an easily searchable and navigable web of information. That includes everything from bookmarks and cheatsheets to daily journals. (I think obsidian does the same with markdown, but I haven't used it).
Re:Notes on Emacs Org Mode by deafpolygon on Friday January 19, 2024 @08:24AM (#39055089)
> much more standardized and rational than markdown

Can you explain? I mean, I imagine there aren't really various flavors of Org Mode, but that doesn't make it standardized.

Re:Notes on Emacs Org Mode by kramerger on Friday January 19, 2024 @12:39PM (#39058375)
Re:Notes on Emacs Org Mode by deafpolygon on Friday January 19, 2024 @02:41PM (#39060082)
That refers to Markdown. I'm asking about how Org Mode is 'standardized'.
Re:Notes on Emacs Org Mode by mediumsmart on Saturday January 20, 2024 @01:30AM (#39065245)
It uses standard org mode plaintext.
Re:Notes on Emacs Org Mode by kramerger on Sunday January 21, 2024 @10:09AM (#39079111)
Org mode is standardised, markdown is not.
Re:Notes on Emacs Org Mode by goku12 on Saturday January 20, 2024 @09:14AM (#39067717)
There are two reasons why I call Org mode standardized.

> I imagine there aren't really various flavors of Org Mode, but that doesn't make it standardized.

All the implementations that call themselves org-mode follow the conventions set by the canonical implementation - the Emacs org-mode. While this may not sound like a good reason to call it standardized, the practical implication is a vast difference from what you get with various markdown flavors. In the latter case, the only way to make sure that your markdown is correct is to test it with the target implementation.

The second reason is that there is an actual effort to standardize org-mode - called Orgdown [1]. Org-mode is already more or less uniform across implementations. This effort tries to write it down as a reference. Markdown has a similar effort called CommonMark. But if you want to know why it's different, you have to look at the history of why it isn't called 'Standard Markdown'.

[1] https://gitlab.com/publicvoit/orgdown

Re:Notes on Emacs Org Mode by yashrk on Friday January 19, 2024 @10:11AM (#39056455)
I used org-mode files to save the examples of complex commands and code snippets (for example, for Docker, Kubernetes, bash, SQL and CQL). From the reader point of view it's literally documentation, although I'm not a professional technical writer and the only reader it's just myself (ok, sometimes I share some of this files with friends and family).

If you use Emacs, you will have great editor with powerful preview features (images, formatting, table processor with formulae, code execution inside the text), and the pipeline for generating HTML or PDF will be approximately the same as with .md/.rst (org-mode is even supported by GitLab and GitHub web interface, although not perfectly). But the support of the org-mode outside Emacs is worse than of Markdown and reStructuredText.

Re:Notes on Emacs Org Mode by zilti on Saturday January 20, 2024 @03:44AM (#39065769)
I use it for documentation, I created chicken scheme extensions as literate programming, having code, documentation, runnable examples, and tests all in the same source; then I use tangle and weave to generate the respective files.