1.0.0-beta.50
Pre-release
Pre-release
daveaglick
released this
21 Nov 23:34
·
102 commits
to main
since this release
- Breaking change: Removed
Statiq.Html
extension and moved all functionality into eitherStatiq.Common
(helpers and utilities) orStatiq.Core
(modules). All modules are still available throughStatiq.Core
and you should remove references toStatiq.Html
. - Added a reference to
AngleSharp
inStatiq.Common
. - Added all keys from
HtmlKeys
toKeys
inStatiq.Common
but keptHtmlKeys
and marked it obsolete for backwards-compatibility. - Changed the behavior of HTML parsing and formatting (I.e. both reading and writing) to preserve any originally encoded character references (#213).
- Added a new
IExecutionContext.GetContentProvider()
extension that accepts an AngleSharpIMarkupFormattable
(such asIHtmlDocument
). - Added
WithAutoHighlightUnspecifiedLanguage()
to theHighlightCode
module to avoid time-consuming generation-time code highlighting when the language is unknown (#210, thanks @Turnerj). - Changed the
HighlightShortcode
module to add a<pre>
element when there are new lines in the content or when specified using a newAddPre
shortcode argument (#215).