* special blocks extras
@ 2023-02-26 8:02 Michael Welle
0 siblings, 0 replies; only message in thread
From: Michael Welle @ 2023-02-26 8:02 UTC (permalink / raw)
I wanted to play with special blocks and started by installing the
package org-special-block-extras and defining a new block:
(org-defblock hmwfoo nil (reps 3)
(message "ahoj: %s" contents)
(org-parse (s-repeat reps contents)))
For the tests I started with exporting to html.
A link like [[hmwfoo:][oink]] seems to work, I see three concatenated
A block like
exports to only one single oink. According to my understanding both, the
link and the block, should be equivalent?
Well, then I activated the special block extras minor mode before
exporting and things got strange. The link still seems to work, but the
block results in an html page rendered like this:
Three oinks, but lots of line breaks and the export markers are part of
the rendered page. Hm, that's not what I expected ;). Do I use it the
wrong way or is there a bug hidden somewhere?
All the best
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-26 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-26 8:02 special blocks extras Michael Welle
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).