FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

reStructuredText: dot (".") and plus ("+") are allowed in directive/role name by SilverRainZ · Pull Request #3085 · pygments/pygments · GitHub

reStructuredText: dot (".") and plus ("+") are allowed in directive/role name - #3085

Merged
birkenfeld merged 2 commits into
pygments:masterfrom
SilverRainZ:rst-dot-and-plus-in-directive-role-name
May 31, 2026
Merged

reStructuredText: dot (".") and plus ("+") are allowed in directive/role name#3085
birkenfeld merged 2 commits into
pygments:masterfrom
SilverRainZ:rst-dot-and-plus-in-directive-role-name

Conversation

Copy link
Copy Markdown
Contributor

Directive types are case-insensitive single words (alphanumerics plus
isolated internal hyphens, underscores, plus signs, colons, and
periods; no whitespace).

...

A role name is a single word consisting of alphanumerics plus isolated
internal hyphens, underscores, plus signs, colons, and periods;

ref: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#interpreted-text

It is AI-generated and works fine :-D.
…ole name

Directive types are case-insensitive single words (alphanumerics plus
isolated internal hyphens, underscores, plus signs, colons, and
periods; no whitespace).

...

A role name is a single word consisting of alphanumerics plus isolated
internal hyphens, underscores, plus signs, colons, and periods;

ref: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#interpreted-text

Copy link
Copy Markdown
Contributor Author

@Anteru @birkenfeld Dear mantainers, just wanted to gently bump this PR. When you guys have a moment, could you please take a look? No rush at all. Thanks for your time!

Copy link
Copy Markdown
Member

Looks good to me! Thanks for the PR.

birkenfeld merged commit bccbab6 into pygments:master May 31, 2026
15 checks passed
Anteru added the A-lexing area: changes to individual lexers label Jul 21, 2026
Anteru added this to the 2.21.0 milestone Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lexing area: changes to individual lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL