Skip to content
New issue

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

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

Already on GitHub? # to your account

Block math written as a one liner fails to get recognized #69

Closed
BenjaminHoegh opened this issue Aug 12, 2024 · 0 comments
Closed

Block math written as a one liner fails to get recognized #69

BenjaminHoegh opened this issue Aug 12, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@BenjaminHoegh
Copy link
Owner

BenjaminHoegh commented Aug 12, 2024

Example:

$$ E = mc^2 $$
@BenjaminHoegh BenjaminHoegh converted this from a draft issue Aug 12, 2024
@BenjaminHoegh BenjaminHoegh added the Bug Something isn't working label Aug 12, 2024
@BenjaminHoegh BenjaminHoegh moved this from Backlog to In progress in ParsedownExtended Aug 12, 2024
@BenjaminHoegh BenjaminHoegh closed this as completed by moving to Done in ParsedownExtended Aug 12, 2024
@BenjaminHoegh BenjaminHoegh moved this from In progress to Done in ParsedownExtended Aug 12, 2024
BenjaminHoegh added a commit that referenced this issue Aug 14, 2024
## Changelog

### New Features
- **External Link Options:** Introduced two new options for handling external links:
  - `ext_in_new_window`: Opens external links in a new window.
  - `all_in_new_window`: Opens all links in a new window.
  
- **GFM Alerts:** Added support for GitHub Flavored Markdown (GFM) alerts.

- **Enhanced Configuration System:**
  - Implemented a more robust configuration system with type validation.
  - Simplified the interface using `config()->set()` and `config()->get()` methods, allowing for easier management of settings.
  - Support for fluent interface.
  - Streamlined naming to use the same schema.

### Changes
- **Transliteration Update:** The transliteration process now utilizes the `Transliterator` module when available, enhancing accuracy and performance.

- **Table of Contents (ToC) Configuration:** The ToC ID setting has been moved from a separate method to the main configuration system, streamlining its management.

- **Email Links** now open in external window by default.

### Bug Fixes
- **Fixed** #69:
- **Fixed** Fixed a bug where predefined abbreviations did not get registered if there was no abbreviations defined in the markdown input.

### Deprecations
- **Deprecated** `isEnabled`: Use `config()->get()` instead.
- **Deprecated** `setSetting`, `setSettings`: Use `config()->set()` instead.
- **Deprecated** `getSetting`, `getSettings`: Use `config()->get()` instead.
- **Deprecated** `abbreviations.allow_custom_abbr`: Use `abbreviations.allow_custom` instead.
- **Deprecated** `abbreviations.predefine`: Use `abbreviations.predefined` instead.
- **Deprecated** `emphasis.marking`: Use `emphasis.mark` instead.
- **Deprecated** `headings.allowed`: Use `headings.allowed_levels` instead.
- **Deprecated** `smarty.substitutions.left-angle-quote`: Use `smarty.substitutions.left_angle_quote` instead.
- **Deprecated** `smarty.substitutions.left-double-quote`: Use `smarty.substitutions.left_double_quote` instead.
- **Deprecated** `smarty.substitutions.left-single-quote`: Use `smarty.substitutions.left_single_quote` instead.
- **Deprecated** `smarty.substitutions.right-angle-quote`: Use `smarty.substitutions.right_angle_quote` instead.
- **Deprecated** `smarty.substitutions.right-double-quote`: Use `smarty.substitutions.right_double_quote` instead.
- **Deprecated** `smarty.substitutions.right-single-quote`: Use `smarty.substitutions.right_single_quote` instead.
- **Deprecated** `toc.toc_tag`: Use `toc.tag` instead.
- **Deprecated** `markup`: Use `allow_raw_html` instead.
- **Deprecated** `setTagToc()` Use the new configuration system instead `config()->set('toc.tag', '[TOC]')`
- **Deprecated** `toc.headings` Use `toc.levels` instead.

### Backward Compatibility
- All changes are backward compatible, ensuring that existing functionality remains unaffected.
@BenjaminHoegh BenjaminHoegh mentioned this issue Aug 26, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant