|
From: | Carsten Dominik |
Subject: | Re: [Orgmode] How to insert apostrophe (') into code and verbatim text? |
Date: | Thu, 4 Feb 2010 18:31:02 +0100 |
On Feb 4, 2010, at 5:48 PM, Uriel Avalos wrote:
Here's an easy one for the guru's, why does an apostrophe at the beginning of a =code= not work? When I export the following text to HTML, the "'life" variable isn't set as code (and the = symbols show up):Select ='life= for the x variable.If I escape the apostrophe, I course get back the escape character in the HTML:Select =\'life= for the x variable.
That is because '=life=' was considered more likely than what you are using. Org-mode is using a heuristic method to figure out what is a normal equal sign, and what introduces code. Feel free to play with the variable `org-emphasis-regexp-components' and see if you can come up with something that works for you.
- Carsten
[Prev in Thread] | Current Thread | [Next in Thread] |