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
1 changed files with 1 additions and 0 deletions

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();