Changeset 49380 in spip-zone
- Timestamp:
- Jul 5, 2011, 2:00:52 PM (10 years ago)
- Location:
- _plugins_/latexwheel/wheels/latex
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/latexwheel/wheels/latex/latex-code.yaml
r49379 r49380 1 1 code_couleur: 2 match: ["#<code[\s]*class=('|\")([\w]+)('|\")>#", '#</code>#'] 3 replace: ["<html>\begin{minted}{$2}", "\end{minted}</html>"] # mettons <html> pour protéger pour protéger via echappe_html 2 match: ["#<code[\s]*class=('|\")([\w]+)('|\")>#", ",</code>,"] 3 replace: tw_code_latex 4 is_callback: Y 4 5 priority: -200 5 6 6 7 cadre_couleur: 7 match: ["#<cadre[\s]*class=('|\")([\w]+)('|\")>#", '#</cadre>#']8 replace: ["<html>\begin{minted}[linenos]{$2}", "\end{minted}</html>"] #mettons <html> pour protéger via echappe_html9 priority: -2008 match: ["#<cadre[\s]*class=('|\")([\w]+)('|\")>#", ",</cadre>,"] 9 replace: tw_cadre_latex 10 is_callback: Y 10 11 11 12 code:
Note: See TracChangeset
for help on using the changeset viewer.