Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapsible heading plugin #124

Merged
merged 8 commits into from
Oct 14, 2024

Conversation

MSzabi
Copy link
Contributor

@MSzabi MSzabi commented Sep 17, 2024

Type of Change

  • Markdown-It Plugins: Collapsible heading plugin

What issue does this relate to?

N/A

What should this PR do?

Introduces a new plugin to allow for wrapping headings and the following content in a detail tag.

What are the acceptance criteria?

When the plugin is enabled and a list of headings to transform is provided, the content is wrapped as expected.

@MSzabi MSzabi changed the title Szabi/collapsible headings Collapsible heading plugin Sep 17, 2024
rules/collapsible_heading.js Show resolved Hide resolved
rules/collapsible_heading.js Outdated Show resolved Hide resolved
rules/collapsible_heading.js Show resolved Hide resolved
rules/collapsible_heading.js Outdated Show resolved Hide resolved
rules/collapsible_heading.js Outdated Show resolved Hide resolved
styles/_details.scss Show resolved Hide resolved
styles/index.scss Outdated Show resolved Hide resolved
index.js Show resolved Hide resolved
dev/render.js Outdated Show resolved Hide resolved
dev/client.js Outdated Show resolved Hide resolved
@MattIPv4 MattIPv4 added enhancement New feature or request minor Change is SEMVER minor labels Sep 26, 2024
@MSzabi MSzabi requested a review from MattIPv4 September 30, 2024 10:13
README.md Outdated Show resolved Hide resolved
dev/client.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
rules/collapsible_heading.js Outdated Show resolved Hide resolved
rules/collapsible_heading.js Outdated Show resolved Hide resolved
rules/collapsible_heading.js Outdated Show resolved Hide resolved
rules/collapsible_heading.test.js Outdated Show resolved Hide resolved
@MSzabi MSzabi requested a review from MattIPv4 October 10, 2024 09:43
dev/render.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@MSzabi MSzabi requested a review from MattIPv4 October 11, 2024 07:39
Copy link
Contributor

@MattIPv4 MattIPv4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@szabi-heits szabi-heits merged commit c5d8617 into digitalocean:master Oct 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Change is SEMVER minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants