| ## board_custom_markup | | ## board_custom_markup |
| | | |
| This option works together with board_markup_enabl | | This option works together with board_markup_enabl |
| ed and can be used to add | | ed and can be used to add |
| custom functions which can be used as markup. | | custom functions which can be used as markup. |
| | | |
t | For example let's assume we want to create a simpl | t | For example let's assume we want to create a simpl |
| e markup function which only wraps the output into | | e markup function which only wraps the output into |
| a <pre> </pre> tag. | | a html "pre" tag. |
| | | |
| We start by creating a function somewhere in the p | | We start by creating a function somewhere in the p |
| ython path. In my example it's in sphene/custom_ma | | ython path. In my example it's in sphene/custom_ma |
| rkup.py | | rkup.py |
| | | |
| def simplemarkup(body): | | def simplemarkup(body): |
| return "<pre>%s</pre>" % body | | return "<pre>%s</pre>" % body |