AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. AsciiDoc files can be translated to HTML and DocBook markups.
adoc-mode is an Emacs major mode for editing AsciiDoc files. It emphasizes on the idea that the document is highlighted so it pretty much looks like the final output. What must be bold is bold, what must be italic is italic etc. Meta characters are naturally still visible, but in a faint way, so they can be easily ignored.
Installation is as usual, so if you are proficient with Emacs you don't need to read this.
(add-to-list 'load-path "mypath")
(autoload 'adoc-mode "adoc-mode")
M-x package-install RET adoc-mode RET.
Each of the following is optional
(add-to-list 'auto-mode-alist (cons "\\.txt\\'" 'adoc-mode))
(add-hook 'adoc-mode-hook (lambda() (buffer-face-mode t)))
The next features I plan to implement
The highlighting emphasizes on how the output will look like. All characters are visible, however meta characters are displayed in a faint way.
Last edited by sensorflo,