Skip to content

nahoj/jetbrains-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Collapse Markdown Details JetBrains Plugin

A simple, hacky plugin for JetBrains IDEs that makes <details></details> sections in Markdown files collapsed by default.

Installation

From GitHub

(May not be kept up to date in the future.)

  • Download the latest release from the project.
  • Install in IDE: Settings/Preferences > Plugins > Gear icon > Install Plugin from Disk… and choose the ZIP in build/distributions.
  • Restart the IDE. Open a Markdown file containing <details>…</details>; the sections should appear collapsed with the summary as the hint.

From Source

  • Ensure you have JDK 21 available.
cd collapse-markdown-details
./gradlew buildPlugin

or

  • Open the project in your IDE.
  • Build the plugin using the buildPlugin task.

Then,

  • Install in IDE: Settings/Preferences > Plugins > Gear icon > Install Plugin from Disk… and choose the ZIP in build/distributions.
  • Restart the IDE. Open a Markdown file containing <details>…</details>; the sections should appear collapsed with the summary as the hint.

About

A JetBrains plugin to collapse `<details></details>` sections in Markdown by default

Topics

Resources

License

Stars

Watchers

Forks

Languages