0

I have a made-up markup-like language named weirdlang which I wish to include within org files like this:

#+begin_src weirdlang
H: Hello

L: This is a list
I: Item 1
#+end_src

This corresponds to markdown like this:

# Hello

This is a list

 - Item 1

I have a program which can be invoked from the shell which will convert snippets in weirdlang to corresponding html.

When exporting org files to html using the default mechanism of org-mode, is there a way to process source blocks tagged weirdlang by an external program and replace the block with an html export block?

So that the resultant html file would have html corresponding to the weirdlang snippet?

The org source block is only a part of the overall org file. I want the rest of the org file to be processed by ox-html (that's the part responsible, right?) as it would normally do.

0

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.