Skip to content

INI syntax highlighting not highlighting sections #2447

@SolidTux

Description

@SolidTux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: A bug, incorrect or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions