Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

make Org ignore underscores when exporting to HTML

I use Emacs Org-mode to write some documents, and I describe some files like “/path/to/file_blah.conf”.

After I hit c-c c-e h to export one of those files to HTML, all the filenames in that file containing _ become small subscript words.

How can I make Org-mode ignore the underscores, so that I can see the filenames on the HTML page?

like image 408
CSJ Avatar asked Dec 06 '11 03:12

CSJ


1 Answers

Duplicated as Disabling underscore-to-subscript in Emacs Org-Mode export

(setq org-export-with-sub-superscripts nil)

in .emacs or

#+OPTIONS: ^:nil

in org file.

like image 67
CodyChan Avatar answered Oct 13 '22 19:10

CodyChan