Skip to content
Permalink
Browse files

Adds support for DowkuWiki Quoting

  • Loading branch information...
turnermm committed Jan 18, 2019
1 parent 99b629d commit d45346c528c2fc4d54d4110d82987fec7e33aca7
Showing with 11 additions and 1 deletion.
  1. +8 −0 style.css
  2. +3 −1 syntax/anno.php
@@ -115,3 +115,11 @@ span.anno_li_7 {
font-weight: 900;
font-size: 125%;
}
span.anno_blockquote {
display: inline-block;
margin: 0 0 1.4em 0;
padding: 0 .5em;
border: solid #ddd;
border-width: 0 0 0 .25em;

}
@@ -255,7 +255,9 @@ function($matches) {
return $retv;
},$html);
$html = str_replace('<blockquote>', '<br /><span class = "anno_blockquote">',$html);
$html = str_replace('</blockquote>', '</span>',$html);
//msg($html);
$html = preg_replace('/<\/?div.*?>/ms',"",$html);
$html = preg_replace('/<!--.*?-->/ms',"",$html);

0 comments on commit d45346c

Please sign in to comment.
You can’t perform that action at this time.