Markdown examples
Markdown support
Markdig is used as the Markdown processor and the following markdown features are enabled by default:
Tables
How to create the following table with styling, using pipe tables
and generic attributes
.
Company | Contact | Country |
---|---|---|
Alfreds Futterkiste | Maria Anders | Germany |
Centro comercial Moctezuma | Francisco Chang | Mexico |
Ernst Handel | Roland Mendel | Austria |
Island Trading | Helen Bennett | UK |
{.table .table-striped}
|Company|Contact|Country|
|-|-|-|
|Alfreds Futterkiste|Maria Anders|Germany|
|Centro comercial Moctezuma|Francisco Chang|Mexico|
|Ernst Handel|Roland Mendel|Austria|
|Island Trading|Helen Bennett|UK|
Using CSS
How to create the following blockquote with an bootstrap info-alert style, using generic attributes
.
Normally the dangers inherent in the diverse hardware environment enhances the efficiency of the inductive associative dichotomy on a strictly limited basis.
{.alert .alert-info}
> Normally the dangers inherent in the diverse hardware environment enhances the efficiency of the inductive associative dichotomy on a strictly limited basis.
Resize Image
Resizing image is supported by Markdig, using below attribute syntax to resize an image.
![](http://example.com/image.jpg){width=250 height=120}