If you use Emacs muse to write documents and take notes, paste them directly in Emacs muse. Code, Will generate a very messy style. In this case, we need to use the tag function provided by Muse flexibly.
Basic Syntax of Muse labels
The syntax of Muse labels is basically the same as that in XML. There are basically the following situations:
The tag has parameters in the following format:
<Tagname arg1 = "string1" arg2 = "string2">
In the simplest use case, there is only one line, which is similar to the tag in XML:
<Tagname arg1 = "string1" arg2 = "string2"/>
If the tag contains content, you can use the following format:
<Tagname> some text </tagname>
You can also split the data into several rows:
<Tagname>
Some text.
Some more text.
</Tagname>
Muse typeset and colors the code.
If you want to typeset the code in Muse, you can use the example tag in Muse. The basic format is as follows:
<Example>
Put code [...]