7.0.0b2
Pre-release
Pre-release
7.0b2
Please see Release Notes for details on upgrading to 7.0.
- NEW: SuperFences, if using the attribute list format (
``` {.lang .additional_class, linenums="1"}
) allows
adding additional classes. IDs can be added as well, though Pygments generated code blocks do not have a mechanism to actually insert IDs. The first provided class will always be treated as the language class. - NEW: Custom SuperFences' formatters should now also include the keyword parameters
classes
andid_value
to allow injecting classes and IDs via the now supported attribute list format. If a code block defines no additional IDs and classes, the old form will be used. Formatters should include**kwargs
at the end to future proof them from future changes. - NEW: Deprecate the SuperFences
highight_code
option. As SuperFences syntax has language classes built right in, disabling thehighlight_code
option makes little sense. Whilehighlight_code
is still accepted, it currently does nothing and will be removed at some future time. - NEW: If a custom fence (SuperFences) or inline (InlineHilite) is given the name of
*
, it will override the
default fence logic.- NEW: SuperFences and InlineHilite no longer sync settings from CodeHilite.