mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[PR #1544] [CLOSED] Improve code block path showcase #1434
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#1434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/1544
Author: @Komediruzecki
Created: 3/22/2022
Status: ❌ Closed
Base:
master← Head:feature/improve-code-block-path-showcase📝 Commits (1)
93fa245Add pre tag improvements and code path📊 Changes
2 files changed (+40 additions, -2 deletions)
View changed files
📝
src/design/components/atoms/markdown/CodeFence.tsx(+33 -1)📝
src/design/lib/codemirror/rehypeCodeMirror.ts(+7 -1)📄 Description
To add a path, write it after a colon after language used in code fence:
```js:the_path/to/something.js
const a = 42;
'''
Spaces are not supported but other symbols are.
Showcase:
https://user-images.githubusercontent.com/18196945/159799117-e3f239d9-737b-4e88-8118-1d85acaf6106.mp4
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.