Next: Markup Strings, Previous: Markup Functions, Up: Extending Muse
List of markup rules for publishing a page with Muse.
The rules given in this variable are invoked first, followed by whatever rules are specified by the current style.
Each member of the list is either a function, or a list of the following form.
(REGEXP/SYMBOL TEXT-BEGIN-GROUP REPLACEMENT-TEXT/FUNCTION/SYMBOL)
If it is not a string, but a function, it will be called to determine what the replacement text should be (it must return a string). If it is a symbol, the value of that symbol should be a string.
The replacements are done in order, one rule at a time. Writing the regular expressions can be a tricky business. Note that case is never ignored. `case-fold-search' is always bound to nil while processing the markup rules.
This is the order that the publishing rules are consulted, by default.
This may be changed by customizing muse-publish-markup-regexps
.
trailing and leading whitespace
directive
This is only recognized at the beginning of a file.
comment
tag
comment
explicit links
Don't actually publish them here, just add a special no-emphasis text
property.
word
This function is responsible for marking up emphasis and escaping some
specials.
heading
Outline-mode style headings.
enddots
These are ellipses with a dot at end.
dots
Ellipses.
rule
Horizontal rule or section separator.
no-break-space
Prevent lines from being split before or after these characters.
line-break
Break a line at point.
fn-sep
Beginning of footnotes section.
footnote
Footnote definition or reference. If at beginning of line, it is a
definition.
list
Numbered list, item list, or term definition list.
table-el
table
Muse tables or orgtbl-mode style tables.
quote
Blockquotes.
emdash
2-wide dash
verse
anchor
link
url
email