@life-cockpit/angular-ui-kit 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6749,6 +6749,12 @@ interface RenderPart {
|
|
|
6749
6749
|
* Renders GitHub-Flavored Markdown (GFM) to sanitized HTML with
|
|
6750
6750
|
* optional syntax highlighting via `<lc-code-block>`.
|
|
6751
6751
|
*
|
|
6752
|
+
* Supports headings (+ anchors), paragraphs, ordered/unordered lists, task lists
|
|
6753
|
+
* (`- [ ]` / `- [x]` → accessible checkbox), blockquotes, horizontal rules,
|
|
6754
|
+
* images, GFM tables (column alignment + horizontal scroll), bold/italic/
|
|
6755
|
+
* strikethrough, inline code, fenced code (incl. `mermaid`), explicit links and
|
|
6756
|
+
* autolinks (bare URLs / `www.` / emails, never inside code).
|
|
6757
|
+
*
|
|
6752
6758
|
* Optionally highlights *changed* blocks in place: pass the pre-edit markdown as
|
|
6753
6759
|
* `previousContent` and set `highlightChanges` — added/edited blocks (diffed at
|
|
6754
6760
|
* block / list-item level) gain a left accent bar + subtle tint, can auto-fade
|
|
@@ -6854,7 +6860,16 @@ declare class MarkdownComponent implements OnDestroy {
|
|
|
6854
6860
|
private splitIntoParts;
|
|
6855
6861
|
private parseMarkdown;
|
|
6856
6862
|
private parseTables;
|
|
6863
|
+
/** Splits a pipe-table row into trimmed cells, dropping the leading/trailing edges. */
|
|
6864
|
+
private splitTableRow;
|
|
6857
6865
|
private escapeHtml;
|
|
6866
|
+
/**
|
|
6867
|
+
* Linkifies bare URLs (`http(s)://…`, `www.…`) and email addresses in text,
|
|
6868
|
+
* leaving anything inside an existing `<a>` or `<code>` (and all tag
|
|
6869
|
+
* attributes) untouched. The HTML is tokenized into tags vs. text so only
|
|
6870
|
+
* top-level text runs are linkified.
|
|
6871
|
+
*/
|
|
6872
|
+
private autolink;
|
|
6858
6873
|
protected mermaidSvgFor(index: number): SafeHtml | null;
|
|
6859
6874
|
protected mermaidErrorFor(index: number): string | null;
|
|
6860
6875
|
private renderMermaidParts;
|