Skip to content

gh-docs/mkdocs-material highlight rule support#351

Open
godylockz wants to merge 1 commit intomayurankv:mainfrom
godylockz:main
Open

gh-docs/mkdocs-material highlight rule support#351
godylockz wants to merge 1 commit intomayurankv:mainfrom
godylockz:main

Conversation

@godylockz
Copy link

@godylockz godylockz commented Dec 11, 2025

Description

Updates the highlighting to retain existing functionality and add gh-docs highlight rule consistent with https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#highlighting-specific-lines

Motivation and Context

Adds support for gh-docs with simple regex improvement.

How has this been tested?

Tested with obsidian mkdocs-material.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have checked no similar existing pull requests exist
  • I have checked the CONTRIBUTING document
  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

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

Successfully merging this pull request may close these issues.

1 participant