Skip to content

INI syntax highlighting not highlighting sections #2447

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

Closed
SolidTux opened this issue Oct 16, 2024 · 1 comment · Fixed by #2448
Closed

INI syntax highlighting not highlighting sections #2447

SolidTux opened this issue Oct 16, 2024 · 1 comment · Fixed by #2448
Labels
C-bug Category: A bug, incorrect or unintended behavior

Comments

@SolidTux
Copy link

Problem

ini is listed as a supported type in the documentation, but the syntax highlighting is very sparse and seems to only highlight numbers and quoted string. Taking the example from Wikipedia:

; last modified 1 April 2001 by John Doe
[owner]
name = John Doe
organization = Acme Widgets Inc.

[database]
; use IP address in case network name resolution is not working
server = 192.0.2.62     
port = 143
file = "payroll.dat"

is rendered as

Image

Steps

  1. Create file with some ini code
  2. Compile book

Possible Solution(s)

No response

Notes

No response

Version

mdbook v0.4.40

@SolidTux SolidTux added the C-bug Category: A bug, incorrect or unintended behavior label Oct 16, 2024
@SolidTux
Copy link
Author

That was fast, thank you! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant