mProjectsCode / mProjectsCode/obsidian-shiki-plugin
Add default style of collapsed sections globally
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
It annoys me that I have to reload the page or edit the code block if I collapsed a section and then want to re-collapse the section again.
Please add the option in the EC defaults settings to set the default style (github, collapsible-start, collapsible-end, or collapsible-auto) of the collapsed code.
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
Start by locating the EC defaults settings and the existing handling for collapsed code sections. Add a default-style option with github, collapsible-start, collapsible-end, and collapsible-auto choices, then verify that collapsing and re-collapsing sections uses the selected style without requiring a reload or code edit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 66/100