View Source CozyPublisher.Adapters.Default (CozyPublisher v2.0.0)
The default adapter used by CozyPublisher
.
Files with the .md
or .markdown
extension will be converted to
HTML with Earmark
. Other files will be kept as is.
required-dependencies
Required dependencies
:earmark
:makeup
options
Options
:earmark_options
- an%Earmark.Options{}
struct:highlighters
- which code highlighters to use.CozyPublisher
usesMakeup
for syntax highlighting and you will need to add its.css
classes. You can generate the CSS classes by callingMakeup.stylesheet(:vim_style, "makeup")
inside iex -S mix. You can replace:vim_style
by any style of your choice defined here.