MarkdownPreview
This component depends on j-Markdown component.
This component depends on j-Markdown component. It uses highlight.js library for syntax highlight.
- supports syntax highlighting
- supports YouTube, Vimeo and custom iframes
- supports barchart and linechart rendering via ApexCharts
Configuration:
showsecret {String}a label for displaying of secret (default:Show secret data)hidesecret {String}a label to hide of secret (default:Hide secret data)html {Boolean}prepares inner HTML (it expects rendered Markdown) with Markdown utilities (syntax, secrets, links, etc.)headlines {String}a link to methodmethod(headlines)will be executed when the headlines will be parsed as quick bookmarks
Custom methods:
component.readingtime()returns approximate reading time in minutescomponent.redraw(jquery_el)applies syntax highlighting, iframes and charts for theelelement




