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

Added the ability to show/hide line numbers in a code block #1333

Merged
merged 7 commits into from
Feb 26, 2025

Conversation

AbhayVAshokan
Copy link
Member

@AbhayVAshokan AbhayVAshokan commented Feb 25, 2025


  • Added a dropdown to toggle between showing/hiding line numbers in a code block (false by default).
  • Enabling line numbers will add a data-linenumbers="true" property on the code block.
  • Revert 9e3b964 before merging.

https://abhay-ashokan.neetorecord.com/watch/ee82c7df8c8b055364fd

@AbhayVAshokan AbhayVAshokan added the patch Releases small requests or bug fixes. label Feb 25, 2025
@neetodeploy neetodeploy bot had a problem deploying to neeto-editor-ht2z-pr-1333 February 25, 2025 16:30 Failure
@AbhayVAshokan AbhayVAshokan changed the title 1296 show or hide line numbers Added the ability to show/hide line numbers in a code block Feb 25, 2025
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ht2z-pr-1333 February 25, 2025 16:33 Inactive
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ht2z-pr-1333 February 25, 2025 16:40 Inactive
@AbhayVAshokan
Copy link
Member Author

@praveen-murali-ind _a please review.

@praveen-murali-ind
Copy link
Contributor

Looking into this.

@praveen-murali-ind
Copy link
Contributor

@AbhayVAshokan _a I have fixed the styling issues. Please check.

@AbhayVAshokan
Copy link
Member Author

Looking great.

@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ht2z-pr-1333 February 26, 2025 01:21 Inactive
@AbhayVAshokan AbhayVAshokan merged commit 2a9cfc9 into main Feb 26, 2025
@AbhayVAshokan AbhayVAshokan deleted the 1296-show-or-hide-line-numbers branch February 26, 2025 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Releases small requests or bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide/Show code block number
2 participants