mProjectsCode / mProjectsCode/obsidian-shiki-plugin
Enable direct editing of codeblocks
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
After enabling the plugin, codeblocks can no longer be directly edited. This is mentioned in #1. I also don't see any "edit button" mentioned in that issue.
Currently if I need to edit a codeblock, which I do very often, I need to place the cursor above the codeblock and hit down arrow to enter it and then edit. It's inconvenient. I also rarely copy the entire codeblock and mostly copy individual commands.
Describe the solution you'd like
I want an option to revert to the default behavior, maybe remove the copy button as well. Thank you.
Additional context
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by tracing the plugin's codeblock rendering and editing-handling entry points, then check how the copy button is added. Done means an option restores direct codeblock editing, with the copy button behavior matching the chosen option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100