@anglr/md-help
Advanced tools
Changelog
Version 10.0.0 (2024-08-06)
github-slugger
minimal version 2.0.0
MarkdownRendererExtension
interface, that is definition of markdown renderer extension
markedExtension
gets marked extension to be usedprovideMarkdownRendererExtensions
function, that provides markdown renderer extensionsMARKDOWN_RENDERER_EXTENSIONS
injection token, that is injection token used for injecting markdown renderer extensions used for processing markdownMarkdownRenderer
service, that is used for rendering markdown
transformMarkdown
transforms markdown into HTMLAssetsPathPrefixExtension
markdown renderer extension, that adds assets path prefix functionality to images links
MarkdownRendererExtension
assetsPathPrefixExtension
function, that is factory for AssetsPathPrefixExtension with optionsIncludeMarkdownExtension
markdown renderer extension, that adds new includeMarkdown
functionality, adding support for including other markdowns using linksIncludeMarkdown
interface, that represents definition of include markdown token
Tokens.Generic
type
type that indicate that this token is 'includeMarkdown'link
link to markdown document that should be downloadedhtml
html to be renderedGfmHeadingIdExtension
markdown renderer extension, that adds github flavored markdown heading functionality
MarkdownRendererExtension
gfmHeadingIdExtension
function, that is factory for GfmHeadingIdExtension with optionsMdMenuItemDirective
directive
standalone
RenderMarkdownDirective
directive
standalone
RenderMarkdownPipe
pipe
standalone
@anglr/md-help/baseurl
@anglr/md-help/baseurl
marked-base-url
minimal version 1.1.4
BaseUrlExtension
markdown renderer extension, that adds baseUrl functionality for relative links
MarkdownRendererExtension
baseUrlExtension
function, that is factory for BaseUrlExtension with baseUrl parameter@anglr/md-help/highlightjs
@anglr/md-help/highlightjs
marked-highlight
minimal version 2.1.3
HighlightJsExtension
markdown renderer extension, that adds highlight js code highlighting functionality
MarkdownRendererExtension
@anglr/md-help/mermaid
MermaidExtension
markdown renderer extension, that adds mermaid functionality
MarkdownRendererExtension
MermaidCode
interface, that represents definition of mermaid code token
Tokens.Code
type
type that indicate that this token is 'code'lang
lang that indication that it is mermaid
codemermaid
holds SVG that represents chart generated by mermaiddependencies
and optionalDependencies
@angular
is 18.0.0
@anglr/common
is 21.1.0
@jscrpt/common
is 6.2.0
tslib
is 2.6.2
highlight.js
is 11.10.0
marked
is 13.0.3
mermaid
is 10.9.1
NodeJs
lower than 18.13
@anglr/md-help
is replaced with previous @anglr/md-help/web
@anglr/md-help
used for Node is not working anymore and is removedMdMenuComponent
component, which was not generic enough to be used, no added value of this componentRenderMarkdownIncludeDirective
directive, replaced with IncludeMarkdownExtension
highlight.js
is now optional dependency and must be explicitly enabledMdMenuComponent
componentMdMenuItemDirective
directiveBaseHelpComponent
component, use RenderMarkdownDirective
for better customization insteadRenderMarkdownConfig
interface, replaced with TODOCodeRenderersConfig
interfaceCodeRenderer
interface, all code renderers are replaced with extensionsDEFAULT_RENDER_MARKDOWN_CONFIG
constantRENDER_MARKDOWN_CONFIG
injection tokenMD_HELP_NOTIFICATIONS
injection token, no longer needed, since package does not handle loading of markdownsHelpService
service, no longer needed, since package does not handle loading of markdownsupdateRenderMarkdownConfig
functionhandleHelpServiceError
functionrenderMarkdown
functionMarkdownModule
module, replaced with standalone directives and pipesRenderMarkdownPipe
pipe
baseUrl
and assetsPathPrefix
you must use DIRenderMarkdownDirective
directive
source
input_
@anglr/md-help/mermaid
d3
, minimal version 7.9.0
dompurify
, minimal version 3.1.6
MermaidCodeRenderer
code renderer, replaced with MermaidExtension
markdown renderer extensionChangelog
Version 9.0.0 (2023-05-01)
@angular
is 16.0.3
@rxjs
is 7.5.7
@anglr/common
is 16.0.0
@jscrpt/common
is 3.4.0
NodeJs
lower than 16.14
@anglr/md-help/web
BaseHelpComponent
component
_isBrowser
renamed to isBrowser
_baseUrl
renamed to baseUrl
baseUrl
is now nullable correctly_assetsPathPrefix
renamed to assetsPathPrefix
assetsPathPrefix
is now nullable correctly_charMap
was removed, not needed anymore_route
renamed to route
_helpSvc
renamed to helpSvc
_router
renamed to router
_notifications
renamed to notifications
_document
renamed to document
_platformId
renamed to platformId
_renderMarkdownConfig
renamed to renderMarkdownConfig
content
is now nullable correctlyupdateRenderMarkdownConfig
function
charMap
argument, not needed anymoreRenderMarkdownConfig
interface
charMap
propertyRenderMarkdownPipe
pipe
MdMenuComponent
component
assetsPathPrefix
is now nullable correctlyRenderMarkdownDirective
directive
charMap
_isBrowser
renamed to isBrowser
_config
renamed to config
renderMarkdown
is now nullable correctlysource
is now nullable correctlybaseUrl
is now nullable correctlyassetsPathPrefix
is now nullable correctly