using Toolips
using ToolipsMarkdown
markdownexample1 = tmd"""# Hello world, this is an example.
This extension, **[toolips markdown](http://github.com/ChifiSource/ToolipsMarkdown.jl)** allows the conversion of regular markdown into Toolips components.
"""
heading1s = Style("h1", color = "pink")
heading1s:"hover":["color" => "lightblue"]
myroute = route("/") do c::Connection
write!(c, heading1s)
mdexample2 = tmd("mymarkdown", "### hello world!")
write!(c, markdownexample1)
write!(c, mdexample2)
end
st = ServerTemplate()
st.add(myroute)
st.start()
[2022:07:01:17:22]: 🌷 toolips> Toolips Server starting on port 8000
[2022:07:01:17:22]: 🌷 toolips> /home/emmac/dev/toolips/ToolipsMarkdown/logs/log.txt not in current working directory.
[2022:07:01:17:22]: 🌷 toolips> Successfully started server on port 8000
[2022:07:01:17:22]: 🌷 toolips> You may visit it now at http://127.0.0.1:8000
Markdown to toolips component parsing.
License
ChifiSource/ToolipsMarkdown.jl
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Markdown to toolips component parsing.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published