Metadata-Version: 2.1
Name: mkdocs-bulma-classes-plugin
Version: 1.0.0b1
Summary: Add support to Bulma css framework in Mkdocs
License: MIT
Author: Daniele Tentoni
Author-email: daniele.tentoni.1996@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown

# Mkdocs Bulma Classes Plugin

Add support to [Bulma CSS framework](https://bulma.io) in [Mkdocs](https://www.mkdocs.org).

Inspired by [mkdocs-bootstrap-tables-plugin](https://github.com/byrnereese/mkdocs-bootstrap-tables-plugin/blob/master/mkdocs_bootstrap_tables_plugin/plugin.py).

This plugin inject in the raw html elements produced by Mkdocs from Markdown all necessary classes for styling with Bulma framework.

**Table of Contents**:

- [How to Install](#how-to-install)
- [How to use](#how-to-use)
- [See also](#see-also)

## How to Install

Use pip to install the plugin (or use your preferred dep manager for Python, like [Poetry](https://python-poetry.org/) for me):

    pip install mkdocs-bulma-classes-plugin

and 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.

## How to use

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](docs/img/bulma_heading_1.png)

For more info, look at [docs](https://daniele-tentoni.github.io/mkdocs-bulma-classes-plugin).

## See also

Take a look at my [Bulma Theme](https://github.com/daniele-tentoni/mkdocs-bulma-theme) for Mkdocs.

