@anglr/md-help
Advanced tools
Changelog
Version 8.0.0 (2022-02-17)
RenderMarkdownConfig
interface as config for render markdown function
codeRenderers
code renderer configuration
CodeRenderersConfig
interface as code renderers configurationcharMap
char map used for normalization of ids and anchor fragmentsbaseUrl
base url used for routing linksassetsPathPrefix
path for static assetsDEFAULT_RENDER_MARKDOWN_CONFIG
default configuration for RenderMarkdownConfig
RENDER_MARKDOWN_CONFIG
as injection token used for injecting render markdown configCodeRenderer
interface as code renderer that handles rendering block of codeHighlightJsCodeRenderer
function as code renderer using highlight jsupdateRenderMarkdownConfig
function that updates render markdown config with custom valuesMD_HELP_NOTIFICATIONS
injection token used for injecting notifications service used in this md help packageRenderMarkdownPipe
pipe that converts markdown string into html@anglr/md-help/mermaid
@anglr/md-help/mermaid
MermaidCodeRenderer
function as code renderer using mermaid12.0.0
@jscrpt/common
is 1.2.0
marked
is 2.0.0
highlight.js
is 10.6.0
mermaid
is 8.9.2
@anglr/notifications
instead uses @anglr/common
version 9.0.0
RenderMarkdownDirective
constructor has new optional parameterRenderMarkdownIncludeDirective
constructor has new optional parameterBaseHelpComponent
constructor has new optional parameterrenderMarkdown
function has new signature, added new parameter with configuration and moved some parameters into itGlobalNotificationsService
replaced with Notifications
from @anglr/common
package, using MD_HELP_NOTIFICATIONS
InjectionToken
Changelog
Version 7.0.1
RenderMarkdownIncludeDirective
supporting import of another markdowns (one level)handleRouterLink
, now checks anchors only with href
attributeRenderMarkdownIncludeDirective
now handles hash routes in markdownBaseHelpComponent
has no default baseUrl nowrenderMarkdown
does not automatically prefix links with /
hljs
css class to <code>
when rendering codehandleRouterLink
now supports also redirecting to absolute URL with same origin and performs scrollIntoViewgetCurrentUrlPrefix
which computes originrenderMarkdown
now correctly normalize ids and anchor fragments@jscrpt/common@1.1.1
is required