I'm trying to post a babel src block that contains a babel definition since I am documenting some babel source blocks in a Hugo post written in org mode.
What I want to do is the following:
#+BEGIN_SRC
#+BEGIN_SRC dot :file my_output_file.png :cmdline -Kdot -Tpng
digraph G {
my_start -> one_branch;
my_start -> another_branch;
}
#+END_SRC
#+END_SRC
And the output I'd like to achieve when exporting is:
#+BEGIN_SRC dot :file my_output_file.png :cmdline -Kdot -Tpng
digraph G {
my_start -> one_branch;
my_start -> another_branch;
}
#+END_SRC
BUt what I get instead is
#+BEGIN_SRC dot :file my_output_file.png :cmdline -Kdot -Tpng
digraph G {
my_start -> one_branch;
my_start -> another_branch;
}
Since the first #+END_SRC finishes the code block.
Is there any way to escape the #+END_SRC so I can have my src block as I expect?
Thanks a lot!