Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

ChifiSource/ToolipsMarkdown.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dead repo

ToolipsMarkdown is now a part of ToolipsServables in Toolips 0.3. ToolipsServables.

  • ( This project can still be used with Toolips 0.2. )

Parse markdown strings into Toolips Components.

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

About

Markdown to toolips component parsing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages