New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mkdocs-bulma-classes-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdocs-bulma-classes-plugin

Add support to Bulma css framework in Mkdocs

  • 1.0.0b7
  • PyPI
  • Socket score

Maintainers
1

Mkdocs Bulma Classes Plugin

Code style: black

Add support to Bulma CSS framework in Mkdocs.

Inspired by mkdocs-bootstrap-tables-plugin.

This plugin inject first in the Markdown of the page and then in the raw html elements produced by Mkdocs from Markdown all necessary classes for styling with Bulma framework. I'll try to follow in the most pedantic way the last CommonMark specification released before supporting other versions.

Table of Contents:

How to Install

Use pip to install the plugin (or use your preferred dep manager for Python, like Poetry for me):

pip install mkdocs-bulma-classes-plugin

How to use

Activate the plugin in your mkdocs.yml config file:

plugins:
  - bulma-classes

If you have no plugins entry in your config file yet, you'll likely also want to add the search plugin. MkDocs enables it by default if there is no plugins entry set.

You doesn't need to do anything. When you build your docs with Mkdocs, after HTML page generation, this pluging inject in your tags the proper CSS class for Bulma. For example, your # Heading 1 will produce the following HTML code:

<h1 id="heading-1">Heading 1</h1>

but enabling this plugin will produce this:

<h1 id="heading-1" class="title is-1">Heading 1</h1>

necessary for Bulma to render this title:

Bulma title is-1

For more info, look at docs.

See also

Take a look at my Bulma Theme for Mkdocs.

Contributing

Contributions are welcome.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc