@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-mermaid/>
  a sioc:Post ;
  dc:title "Changelog" ;
  dcterms:identifier 151949 ;
  dc:modified "2026-10-20T21:40:51Z"^^xsd:dateTime ;
  dc:created "2026-10-20T21:40:51Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-mermaid/changelog/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-mermaid/\">LH Mermaid</a></li></ul><ul class=\"lh_portfolio-changelog\"><li><strong>1.2.0:</strong> Mermaid diagrams written in Markdown or HTML now become Mermaid Diagram blocks wherever content is converted to blocks by LH Content Converter (2.6.0 or later), for example by create-post, the knowledge base and presentations abilities. A mermaid code fence in Markdown, or a pre element with the mermaid class in HTML, is claimed through the converter&#039;s new block handlers filter and saved exactly as the block editor saves this block, so it opens in the editor with Source and Preview and draws on the page. Empty diagrams and other code blocks are left alone. A new public helper, Lh_Mermaid_Block::block_markup(), returns the block&#039;s saved markup for a diagram&#039;s source.</li><li><strong>1.1.1:</strong> Diagrams now draw for logged-out visitors. LH Defer Javascript holds footer scripts back until the visitor first interacts (or for five seconds), which is after the page load event that Mermaid waits for, so diagrams were left as source text. The Mermaid library is now on LH Defer Javascript&#039;s exclude list (lh_defer_javascript_exclude_scripts) and loads normally wherever a diagram is shown. This fixes the Mermaid Diagram block and the Schema Diagram block in LH Schema Tools. Nothing changes on pages without a diagram, which never load the library.</li><li><strong>1.1.0:</strong> Adds the Mermaid Diagram block (lh-mermaid/diagram). The diagram is written in Mermaid syntax and saved as plain text inside a pre element with the mermaid class, so it is versioned by post revisions, can be written and edited by agents through the ordinary post abilities, and shows as readable source in feeds, email and anywhere JavaScript does not run. The Mermaid library and a small stylesheet load only on requests that render a diagram. The editor has Source and Preview modes; the preview loads Mermaid only when first used. The block is offered on every post type and can be hidden where unwanted with the lh_mermaid_block_enabled filter. New helpers Lh_Mermaid::script_handle(), script_url() and block_name() let pages that never call wp_footer(), such as the lh-presentations deck template, print the library themselves. Lh_Mermaid::enqueue() is unchanged for existing callers such as the Schema Diagram block. plugin_version() now reads the plugin header, and the header gains License, License URI and the portfolio URL.</li><li><strong>1.0.0:</strong> Initial release. Bundles Mermaid.js 11.16.0 (UMD build) and adds Lh_Mermaid::enqueue(), a conditional-enqueue helper for other LH plugins. The script is registered on wp_enqueue_scripts and admin_enqueue_scripts so repeated calls in one request are cheap. Pure infrastructure with no admin UI, block or shortcode: consuming plugins detect when a diagram is present and call enqueue() themselves.</li></ul>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Mermaid1.2.0: Mermaid diagrams written in Markdown or HTML now become Mermaid Diagram blocks wherever content is converted to blocks by LH Content Converter (2.6.0 or later), for example by create-post, the knowledge base and presentations abilities. A mermaid code fence in Markdown, or a pre element with the mermaid class in HTML, is claimed through the converter&#039;s new block handlers filter and saved exactly as the block editor saves this block, so it opens in the editor with Source and Preview and draws on the page. Empty diagrams and other code blocks are left alone. A new public helper, Lh_Mermaid_Block::block_markup(), returns the block&#039;s saved markup for a diagram&#039;s source.1.1.1: Diagrams now draw for logged-out visitors. LH Defer Javascript holds footer scripts back until the visitor first interacts (or for five seconds), which is after the page load event that Mermaid waits for, so diagrams were left as source text. The Mermaid library is now on LH Defer Javascript&#039;s exclude list (lh_defer_javascript_exclude_scripts) and loads normally wherever a diagram is shown. This fixes the Mermaid Diagram block and the Schema Diagram block in LH Schema Tools. Nothing changes on pages without a diagram, which never load the library.1.1.0: Adds the Mermaid Diagram block (lh-mermaid/diagram). The diagram is written in Mermaid syntax and saved as plain text inside a pre element with the mermaid class, so it is versioned by post revisions, can be written and edited by agents through the ordinary post abilities, and shows as readable source in feeds, email and anywhere JavaScript does not run. The Mermaid library and a small stylesheet load only on requests that render a diagram. The editor has Source and Preview modes; the preview loads Mermaid only when first used. The block is offered on every post type and can be hidden where unwanted with the lh_mermaid_block_enabled filter. New helpers Lh_Mermaid::script_handle(), script_url() and block_name() let pages that never call wp_footer(), such as the lh-presentations deck template, print the library themselves. Lh_Mermaid::enqueue() is unchanged for existing callers such as the Schema Diagram block. plugin_version() now reads the plugin header, and the header gains License, License URI and the portfolio URL.1.0.0: Initial release. Bundles Mermaid.js 11.16.0 (UMD build) and adds Lh_Mermaid::enqueue(), a conditional-enqueue helper for other LH plugins. The script is registered on wp_enqueue_scripts and admin_enqueue_scripts so repeated calls in one request are cheap. Pure infrastructure with no admin UI, block or shortcode: consuming plugins detect when a diagram is present and call enqueue() themselves." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
