|
From: | Max Nikulin |
Subject: | Re: An Org-mode-based blogging engine? |
Date: | Sat, 20 May 2023 17:49:05 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 08/05/2023 15:15, Marcin Borkowski wrote:
4. I am going, though, to need some custom "blocks" - in HTML parlance, <div>s and possibly also <span>s.
For <div>s (block level elements) custom #+begin_something may be used.For <span>s you may try either {{{macros(arg)}}} (beware of commas) or sometimes it is possible to use custom link types that are actually just markup, but links can not be nested.
Another warning is anchors generated by Org. They may change. Some people have code to derive anchors from heading titles, another approach it to ensure that each heading has CUSTOM_ID property and it is used for links.
[Prev in Thread] | Current Thread | [Next in Thread] |