Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table of contents is not rendered in Glow as in Typora #379

Open
knightmare2600 opened this issue Feb 4, 2025 · 0 comments
Open

Table of contents is not rendered in Glow as in Typora #379

knightmare2600 opened this issue Feb 4, 2025 · 0 comments

Comments

@knightmare2600
Copy link

Describe the bug

The stanza [TOC] does not render in glow as it does in Typora:

Image

whereas Glow shows the code instead:

Image

Setup

Standard build of Glow. Installed via apt repo on Ubuntu 22.04 and choco on Windows.

To Reproduce

The code to reproduce is below:

## Table Of contents

[TOC}

Expected behavior

A dynamically generated table of contents based on headers which are rendered correctly using ### in the main window

Additional context

Version:

glow -v
glow version 2.0.0 (67243bb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant