Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remark: Add support for highlighting line numbers #815

Merged
merged 1 commit into from
May 14, 2024

Conversation

matevz
Copy link
Member

@matevz matevz commented May 10, 2024

Adds support for {line-range,or,individual,line,number} syntax in our custom code block, for e.g.

![code {4}](../some/source.ts)

And this produces something like this:
image

Copy link

netlify bot commented May 10, 2024

Deploy Preview for oasisprotocol-docs ready!

Name Link
🔨 Latest commit fba847f
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-docs/deploys/6643469cbb6fde000859af53
😎 Deploy Preview https://deploy-preview-815--oasisprotocol-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@matevz matevz force-pushed the matevz/feat/highlight-line-numbers branch from fb577bd to eb437dd Compare May 10, 2024 10:32
@matevz matevz requested a review from lukaw3d May 10, 2024 10:32
@matevz matevz requested a review from lubej May 14, 2024 10:57
@matevz matevz force-pushed the matevz/feat/highlight-line-numbers branch from eb437dd to fba847f Compare May 14, 2024 11:10
@matevz matevz merged commit de807c4 into main May 14, 2024
6 checks passed
@matevz matevz deleted the matevz/feat/highlight-line-numbers branch May 14, 2024 12:09
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