Changeset 49390 in spip-zone
- Timestamp:
- Jul 5, 2011, 3:18:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/latexwheel/wheels/latex/latex-code.php
r49387 r49390 9 9 10 10 function tw_cadre_latex($code){ 11 $texte = str_replace($code[1],"\begin{minted}[line os]{".strtolower($code[3])."}",$code[0]);11 $texte = str_replace($code[1],"\begin{minted}[linenos]{".strtolower($code[3])."}",$code[0]); 12 12 $texte = str_replace('</cadre>','\end{minted}',$texte); 13 13 $texte = '<latex>'.base64_encode($texte).'</latex>';
Note: See TracChangeset
for help on using the changeset viewer.