Skip to content

ingvirafn/LiquidMarkdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liquid + Markdown = LiquidMarkdown

What is better than Markdown? Markdown with templates!

Mix of Markdown (Markdown.Xaml in this case) and Liquid (dotliquid) template processor.

Example

{% assign itemsString = "apples: This - is - how  - we  - do - it, oranges: no oranges here!" %}
Original string is **{{ itemsString }}**
By splitting up the string we can iterate through it

{% assign items = itemsString | split: ", " %}
{% for x in items %}
{% assign k = x | split: ":" %}
## {{ k[0] }} ##
{{ k[1] }}
{% endfor %}

Result

Original string is apples: This - is - how - we - do - it, oranges: no oranges here! By splitting up the string we can iterate through it

apples

This - is - how - we - do - it

oranges

no oranges here!

About

LiquidMarkdown is a Markdown templating engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages