1.1.0
Version 1.1.0 of Wikity.
Install using npm install [email protected]
.
Changelog
- Added
parse
CLI command to implementparse()
. - Added a generated table of contents if there are over 4 headings.
- Added support for
nowiki
tag. - Added support for
onlyinclude
,includeonly
, andnoinclude
tags in templates. - Added support for magic words
__TOC__
,__FORCETOC__
,__NOTOC__
, and__NOINDEX__
. - Added support for control function
{{displaytitle:}}
to control the page's displayed title. - Added support for string functions
lc:
,uc:
,lcfirst:
,ucfirst:
,replace:
,explode:
,sub:
,len:
,pos:
,padleft:
,padright:
,urlencode:
, andurldecode:
. - Added support for horizontal rules using
----
. - Changed time codes in
#datetime
/#date
/#time
function to be based on reduplication instead of unique characters with escaping based on quoting instead of prefixing with a backslash (i.e.,{{#time: j F Y (\n\o\w)}}
→{{#time: dd mmm yyyy "(now)"}}
). - Fixed inline tags removing whitespace from either end.
- Fixed single-line-only syntax not being parsed correctly.