An open API service indexing awesome lists of open source software.

https://github.com/humansinput/creole

Tcl library for parsing Creole-formatted text.
https://github.com/humansinput/creole

Last synced: about 1 month ago
JSON representation

Tcl library for parsing Creole-formatted text.

Awesome Lists containing this project

README

        

= Tcl Creole parser

_Copyright (C) Tim K/RoverAMD 2019 _

== Usage

[source,tcl]
----
source creole.tcl

set markup {Hello, I love [[http://tcl.tk|Tcl]] and //**cats**//!}
set converted [rovcreole::toHtml $markup] ;# rovcreole::toHtml converts Creole markup to HTML
set parsed [rovcreole::parse $markup] ;# rovcreole::parse converts Creole markup to a list of Tcl dicts
puts $converted
----

Output:

[source]
---

Hello, I love Tcl and cats!


---

== License
MIT License