Version 2.0.0-preview
There were 46 changes in Retype 2.0.0-preview.
New
- Content templating support with includes, variables, and logic operators. See #213.
- Page content live editor.
- Ability to enable/disable templating per page.
- Support line ranges for partial content.
- Line highlighting in code blocks. See #176.
- Custom
<script>
or<style>
blocks within a page. See #255. - Google TagManager integration. See #234.
- Plausible.io integration. See #272.
- Allow img and alerts above h1 heading.
- Improved maximum page limit handling.
- If page level
title
config and no top levelh1
, inject thetitle
as the top most element. - Magic site-wide includes. See #272.
- Allow generic attributes for Markdown native elements. See #278.
- New
ghost
variant for Button, Badge, and Alert components. - Include page
description
in search index and results. See #59. - New search index mode with
full
,partial, and
basic` options. - Complete redesign of Search results. See #59.
Improved
- Highlight search input query in search results.
- Improved collapse-on-click for left sidebar folder when there is a default page. See #128.
- Add README to Yarn and NPM package directories.
- Remove deleted items from
output
when inmemory
watch mode. - Ability to include
.yaml
files as resources. - Improvement to ToC highlight tracking. See #41, #134.
- Revise wallet path to
.retype/license.dat
. See #262. - Migrate to .NET 6.
- Improved link resolution of relative URLs.
- Slight font-size increase on h1 and h2.
- Adjustments to layout widths and resize breakpoints. See #57.
- Hide ToC
Contents
heading if no inner page sub-headings. - Upgrade Octicons icons library from v16.1.1 to v17.0.0.
Fixed
- Unable to scroll sidebar when navigating to a collapsed clickable sidebar menu. See #128.
- Double-quote in image caption is not encoded. See #245.
- Build fails if root retype.yml configuration file is blank. See #257.
- Super mega long word in page title causes rendering issue. See #253.
- Prevent float elements from interacting with Previous|Next buttons. See #232.
- Angle brackets are not rendered in the Sidebar.
- Mustache template syntax is not being escaped.
- Unreliable sidebar and Prev/Next button label word wrapping. See #253.
- Scroll position is not being maintained in
retype watch
. route
not respected if configured on a folder more than one level higher.- Full width Alert component content. See #242.
- API Generation of C# Namespaces converts the CamelCase names to all lowercase except the first letter. See #277.
Breaking Changes
- Pages with
redirect
config to be visible by default in main sidebar navigation. See #236.