Hexo Filter Plantuml

screenshot of Hexo Filter Plantuml
hexo

Using PlantUML to generate UML Diagram for hexo

Overview:

The hexo-filter-kroki plugin is a powerful tool designed for users looking to integrate diagram rendering into their Hexo static site generators. With a focus on ease of use and privacy, this plugin supports over 20 different types of diagrams, including the popular PlantUML format. Transitioning from the previous hexo-filter-plantuml, this plugin simplifies the process of adding visuals to your content while ensuring that sensitive data remains secure.

By generating diagrams at compile time, hexo-filter-kroki stands out by eliminating the need for any external CSS or JavaScript files. This not only enhances performance but also reinforces your site's privacy by allowing for local or self-hosted rendering options.

Features:

  • Diagram Diversity: Supports 20+ diagram formats, giving users extensive options for visual representation in their content.

  • Compile-Time Generation: Generates raw, base64, or URL-encoded SVG diagrams at compile time, seamlessly integrating them into your HTML.

  • Privacy-Focused: Offers users the choice of rendering locally or on a self-hosted server, ensuring data security.

  • No External Dependencies: Functions with zero npm dependencies, making it lightweight and easy to install.

  • Hassle-Free Installation: No advanced configuration required; works out-of-the-box by default sending text to plantuml.com for rendering.

  • Client-Side and Server-Side Options: Choose between client-side rendering for simplicity or server-side for enhanced privacy.

  • Directives Support: Utilizes standard PlantUML directives, ensuring compatibility and ease of use for those familiar with the syntax.

hexo
Hexo

Hexo is a static site generator built with Node.js that enables developers to create fast and efficient websites using Markdown, EJS, and Stylus. It offers features such as server-side rendering, plugin support, and easy deployment to hosting services like GitHub Pages and Netlify.