Note
Version 1.1.0 was briefly removed due to issues in loading modules
HAM v1.1.1 contains these two new improvements:
- Breaking: Tables are now styled by default. If you have previously styled your tables in some way (e.g. using plugins or Bootstrap's table classes)
- Support for Mermaid diagrams. Just add the syntax inside the
<pre class="mermaid">
, similar to the Mermaid Getting Started.
Supporting Mermaid requires us to include the entire module, making our package significantly larger. But this also reduces the need for HAM-powered sites to rely on external CDN services.
We have also updated the copyright acknowledgement on our README files, which now includes:
- Mermaid (https://github.com/mermaid-js/mermaid) - Copyright (c) 2014-2024 Knut Sveidqvist, MIT License
- toURI (https://github.com/annexare/toURI) - Copyright (c) 2014 Annexare Studio, MIT License
You can learn more about this release on https://reinhart1010.id/blog/2024/06/02/ham-v1-1-supporting-tables-and-technical-diagrams/ .