Skip to content

resolves #93 - allows backticks in code voice#259

Open
heckj wants to merge 2 commits intoswiftlang:mainfrom
heckj:backticks-in-code-voice
Open

resolves #93 - allows backticks in code voice#259
heckj wants to merge 2 commits intoswiftlang:mainfrom
heckj:backticks-in-code-voice

Conversation

@heckj
Copy link
Member

@heckj heckj commented Mar 11, 2026

resolves #93 - which allows backticks to appear in "code voice", used in content within https://github.com/swiftlang/swift-book (see swiftlang/swift-book#71 for some detail in that repo)

This fix leans a concept that symbols when done with backticks, will always use exactly 2 backticks - and adds a smidge of a double check to make sure that the symbol content itself doesn't contain a backtick, which I think is a safe bet.

@heckj
Copy link
Member Author

heckj commented Mar 11, 2026

@swift-ci please test

@heckj heckj requested a review from QuietMisdreavus March 11, 2026 23:06
@heckj
Copy link
Member Author

heckj commented Mar 13, 2026

@swift-ci please test

Copy link
Contributor

@QuietMisdreavus QuietMisdreavus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants