add citation needed markup

i should really stick this in another file... oh well
This commit is contained in:
vulpine 2022-02-12 13:56:50 -05:00 committed by GitHub
parent d23a632983
commit c6f0808313
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,7 @@ SDV($FootnoteBacklinkCharacter, '⇑');
Markup("[^",'<split','/\[\^(.*?)\^\]/s',"Footnote");
Markup("checkbox", "inline", "/\[ \]/", "<input type=checkbox class=checkbox disabled>");
Markup("checkedbox", "inline", "/\[x\]/", "<input type=checkbox class=checkbox disabled checked>");
Markup("citationneeded", "inline", "/\{\{(cn|[Cc]itation needed)(\|(reason|date)=.+?)?\}\}/", "<sup>[<em>citation needed</em>]</sup>");
function Footnote($m) {
static $fngroup = 1, $fncount = 0, $fntext = array();