More goodiesMore markdown supportThe Julia Markdown parser in Julia's stdlib is not exactly complete and Franklin strives to bring useful extensions that are either defined in standard specs such as Common Mark or that just seem like useful extensions.
or also for images ![][some image] some people find that useful as it allows referring multiple times to the same link for instance.
or you can specify the default language with
A bit more highlightingExtension of highlighting for
you can tune the colouring in the CSS etc via the following classes:
More customisationFranklin, by design, gives you a lot of flexibility to define how you want stuff be done, this includes doing your own parsing/processing and your own HTML generation using Julia code. In order to do this, you can define two types of functions in a
The former ( Custom "hfun"If you define a function For instance:
.hf {background-color:black;color:white;font-weight:bold;}
Can be called with Usually you will want to pass variable name (either local or global) and collect their value via one of
Which you can use like this Of course these examples are not very useful, in practice you might want to use it to generate actual HTML in a specific way using Julia code. For instance you can use it to customise how tag pages look like. A nice example of what you can do is in the SymbolicUtils.jl manual where they use a Note: the output will not be reprocessed by Franklin, if you want to generate markdown which should be processed by Franklin, then use Custom "lx"These commands will look the same as latex commands but what they do with their content is now entirely controlled by your code. You can use this to do your own parsing of specific chunks of your content if you so desire. The definition of
You can call the above with Note: the output will be reprocessed by Franklin, if you want to avoid this, then escape the output by using
© Tomohiro Soejima. Last modified: 0001-01-01. Website built with Franklin.jl
|