[PR #529] [CLOSED] added line number support for codeblock #789

Closed
opened 2026-03-03 00:23:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/529
Author: @ZeroX-DG
Created: 7/8/2020
Status: Closed

Base: masterHead: codeblock-linenumber


📝 Commits (2)

  • 2ce6737 added linenumber support for codeblock
  • 735437f fixed empty codeblock & line number select

📊 Changes

1 file changed (+71 additions, -3 deletions)

View changed files

📝 src/components/atoms/MarkdownPreviewer.tsx (+71 -3)

📄 Description

Added support for line number in code block. This probably not the best way to do it since you have to reset the width and update it every render. Suggestion for improvement are welcome!

image

image

Fixed: https://github.com/BoostIO/BoostNote.next/issues/315


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BoostIO/BoostNote-App/pull/529 **Author:** [@ZeroX-DG](https://github.com/ZeroX-DG) **Created:** 7/8/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `codeblock-linenumber` --- ### 📝 Commits (2) - [`2ce6737`](https://github.com/BoostIO/BoostNote-App/commit/2ce6737a0adaf9121969ef493a9a86fa651a75d0) added linenumber support for codeblock - [`735437f`](https://github.com/BoostIO/BoostNote-App/commit/735437f5d428e16c8b8172c3f519c8d9b11ab079) fixed empty codeblock & line number select ### 📊 Changes **1 file changed** (+71 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/components/atoms/MarkdownPreviewer.tsx` (+71 -3) </details> ### 📄 Description Added support for line number in code block. This probably not the best way to do it since you have to reset the width and update it every render. Suggestion for improvement are welcome! ![image](https://user-images.githubusercontent.com/12984316/86929272-c64f7d80-c189-11ea-8496-41f384c0e035.png) ![image](https://user-images.githubusercontent.com/12984316/86929348-d9624d80-c189-11ea-87f4-4a1a2342ba35.png) Fixed: https://github.com/BoostIO/BoostNote.next/issues/315 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:23:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#789
No description provided.