0

I want to write AsciiDoc documents in Emacs (more specifically Doom Emacs) with syntax highlighting.

I've tried:

  • Adding (package! adoc-mode) to the bottom of ~/.doom.d/packages.el .
  • Adding adoc-mode to ~/.doom.d/init.el
  • Running ~/.emacs.d/bin/doom sync

But I still get no syntax highlighting.

Syntax highlighting for Markdown and Org-mode do work, not sure if I did something to enable that or if it worked out of the box.

Edit

Running emacs with the -Q or --quick option (emacs -Q) org-mode has highlighting but markdown does not.

4
  • 1
    You can always check if something "works out of the box" by starting with emacs -Q.
    – NickD
    Dec 19, 2022 at 15:50
  • @NickD With emacs -Q org-mode has highlighting but markdown does not. Dec 19, 2022 at 15:55
  • 1
    Please add all this information to the question (if it is relevant). The question should stand alone and contain all the relevant information, even if the comment is deleted.
    – NickD
    Dec 19, 2022 at 15:58
  • Just for future reference the second step listed is not necessary, only adding it to packages.el and running doom sync is necessary to get it installed.
    – zzantares
    May 28 at 22:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.