For Tiki 20.
To support Markdown syntax in Tiki.
Who
Developers
Tiki Integration
First basic implementation done by luci using the CommonMark flavor PHP lib as a wiki-plugin. The lib was added to vendor_bundled/
via Composer.
Development notes
The use League\CommonMark\CommonMarkConverter;
must be put before the wikiplugin function, not inside:
Copy to clipboard
use League\CommonMark\CommonMarkConverter;
function wikiplugin_markdown($data, $params) {
...
}
Ideas
ToDo
Bugs and Wishes
Open
Pending
Closed
Related
For Tiki 20.
To support ((Markdown)) syntax in Tiki.
!! Who
!!! Developers
* {userlink}
!! Tiki Integration
First basic implementation done by luci using the CommonMark flavor PHP lib as a wiki-plugin. The lib was added to -+vendor_bundled/+- via ((Composer)).
!! Development notes
The -+use League\CommonMark\CommonMarkConverter;+- must be put __before__ the wikiplugin function, not inside:
{CODE(colors="php" theme="3024-night")}use League\CommonMark\CommonMarkConverter;
function wikiplugin_markdown($data, $params) {
...
}
{CODE}
!! Ideas
* ...
!! ToDo
* Add Tiki to the list of integrations at https://github.com/thephpleague/commonmark#%EF%B8%8F-related-packages
* Maybe add some useful ''params'' to the plugin?
!! Bugs and Wishes
!!! Open
{LIST()} {filter field="tracker_id" exact="5"}
{filter field="title" content="Markdown AND plugin"}
{filter field="tracker_status" content="o"}
{LIST}
!!! Pending
{LIST()} {filter field="tracker_id" exact="5"}
{filter field="title" content="Markdown AND plugin"}
{filter field="tracker_status" content="p"}
{LIST}
!!! Closed
{LIST()} {filter field="tracker_id" exact="5"}
{filter field="title" content="Markdown AND plugin"}
{filter field="tracker_status" content="c"}
{LIST}
!! Related
* ((Markdown))
* ((WYSIWYG and Markdown))
* https://commonmark.thephpleague.com/