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

Add allow_html_description config option and drop minify #282

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

dblanchette
Copy link
Collaborator

feat: Add allow_html_description config option

Added to fix a case where the description contains markdown with triple ticks.
For example:

```json
{
  "property": "value"
}
```

would render to

```json
{
  "property": "value"
}
```

With allow_html_description, it is correctly rendered.

Disabled by default

feat: Drop minify

There has been problem with the lib we use to minify. The size difference is small enough that just dropping the minification seems appropriate.

HTML templates

Never minify

MD templates

We now always "minify" by removing empty lines that are adjacent to other empty lines

@dblanchette dblanchette merged commit 6c5f00e into main Nov 29, 2024
8 checks passed
dblanchette pushed a commit that referenced this pull request Nov 29, 2024
# [1.1.0](v1.0.4...v1.1.0) (2024-11-29)

### Features

* Add `allow_html_description` config option ([#282](#282)) ([6c5f00e](6c5f00e))
@dblanchette
Copy link
Collaborator Author

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dblanchette dblanchette deleted the feat/allow-html-description-no-minify branch November 29, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant