Skip to content

Request to add CSS class of TOC #248

@yososs

Description

@yososs

In TOCExtension(or SimTocExtension), the option that CSS class can be specified for visual adjustment is desirable.

input markdown:

[TOC]
# Heading 1

## Heading 2

### Heading 2-1

output html:

<div class="toc">
<ul>
<li><a href="#heading-2">Heading 2</a>
<ul>
<li><a href="#heading-2-1">Heading 2-1</a></li>
</ul>
</li>
</ul>
</div>
<h1 id="heading-1">Heading 1</h1>
<h2 id="heading-2">Heading 2</h2>
<h3 id="heading-2-1">Heading 2-1</h3>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions