Skip to content

feat: add scdoc support#1199

Merged
alecthomas merged 1 commit intoalecthomas:masterfrom
oppiliappan:op/slxmqwrowosm
Jan 25, 2026
Merged

feat: add scdoc support#1199
alecthomas merged 1 commit intoalecthomas:masterfrom
oppiliappan:op/slxmqwrowosm

Conversation

@oppiliappan
Copy link
Copy Markdown
Contributor

the scdoc format is markdown-line manpage format.

ref: https://git.sr.ht/~sircmpwn/scdoc

the scdoc format is markdown-line manpage format.

ref: https://git.sr.ht/~sircmpwn/scdoc

Signed-off-by: oppiliappan <me@oppi.li>
@oppiliappan
Copy link
Copy Markdown
Contributor Author

first time writing a lexer for chroma, so please do critique the code (hope i am using <state> correctly). a sample rendered scdoc file can be found here: https://tangled.org/alterae.online/choose/blob/main/man/choose.1.scd.

@alecthomas
Copy link
Copy Markdown
Owner

If it looks okay, that's the main thing.

@alecthomas alecthomas merged commit 8215091 into alecthomas:master Jan 25, 2026
2 checks passed
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.

2 participants