* Upgraded `thunderer/shortcode` to 0.7.5 to address a security issue
# v5.1.1
## 01/11/2022
1. [](#improved)
* Improved Twig 2 support
* Bugfixes to support latest NextGen version (v1.1.8)
# v5.1.0
## 12/09/2021
1. [](#new)
* Notice shortcode now uses a twig template to allow for easy overriding of style
1. [](#improved)
* Updated vendor libraries to latest
# v5.0.7
## 09/28/2021
1. [](#improved)
* Added `processShortcodesRaw()` using raw_handlers [#104](https://github.com/getgrav/grav-plugin-shortcode-core/pull/104)
* Better vertical alignment for inline shortcodes in NextGen Editor
1. [](#bugfix)
* NextGen Editor: Ensure content of children shortcode elements, such as UI Tab content, have a new empty line as prefix and suffix, to ensure Markdown lists are not lost [getgrav/grav-premium-issues#123](https://github.com/getgrav/grav-premium-issues/issues/123)
# v5.0.6
## 04/27/2021
1. [](#improved)
* Added the ability to enable/disable built-in notice CSS
* NextGen Editor: Added support for multiple editor instances
# v5.0.5
## 03/12/2021
1. [](#bugfix)
*`SafeEmailShortcode` fixed to be compatible with PHP 7.4
* Addresses shortcodes getting repeated in modular subpages [#101](https://github.com/getgrav/grav-plugin-shortcode-core/pull/101)
# v5.0.4
## 01/26/2021
1. [](#bugfix)
* NextGen Editor: Fixed regexp regression preventing multiple shortcodes to be parsed in certain circumstances
# v5.0.3
## 01/15/2021
1. [](#improved)
* NextGen Editor: Update to support latest version
# v5.0.2
## 12/18/2020
1. [](#improved)
* NexGen Editor: Added optional `shorthand` to force attributes to full declaration
1. [](#bugfix)
* NextGen Editor: Fixed regexp preventing attributes with `/` in the value from being captured
# v5.0.1
## 12/02/2020
1. [](#improved)
* Content editing in settings popup
# v5.0.0
## 11/04/2020
1. [](#new)
* Added built-in support for **Nextgen Editor** with powerful GUI capabilities for all core shortcodes
* Support for 3rd party shortcode plugins to add their own **Nextgen Editor** integrations.
1. [](#improved)
* Support for comma-listed language tags in `[lang]` shortcode: `[lang=dk,se,no,fi]`
* Support for justified text in align shortcode [#94](https://github.com/getgrav/grav-plugin-shortcode-core/issues/94)
* Support for asset collections and arrays [#85](https://github.com/getgrav/grav-plugin-shortcode-core/issues/85)
* Support of `duotone` FontAwesome icons [#78](https://github.com/getgrav/grav-plugin-shortcode-core/issues/78)
1. [](#bugfix)
* Support HTML in Header shortcode
# v4.2.3
## 04/27/2020
1. [](#improved)
* Configuration option to exclude default shortcodes [#86](https://github.com/getgrav/grav-plugin-shortcode-core/issues/86)
* Add support for `style` attribute in `[span]` shortcode [#88](https://github.com/getgrav/grav-plugin-shortcode-core/issues/88)
* Added second `$options` parameter to `ShortcodeCore->registerAllShortcodes()`, key `ignore` can be used to ignore class names / files from being loaded
1. [](#bugfix)
* Fix shortcodes which do not override `init()` method, added deprecation notice instead [#82](https://github.com/getgrav/grav-plugin-shortcode-core/issues/82)
* Fixed error message showing up when updating older versions (<4.2.0)oftheplugin [#84](https://github.com/getgrav/grav-plugin-shortcode-core/issues/84)
# v4.2.1
## 02/14/2020
1. [](#improved)
* Improved shortcode loading, all shortcodes should now extend `Grav\Plugin\Shortcodes\Shortcode` class
1. [](#bugfix)
* Fixed `Class 'Grav\Plugin\Shortcodes\Shortcode' not found` error when using some plugins
* Fixed fatal error when trying to instantiate bad shortcodes (they will be skipped instead)
# v4.2.0
## 02/11/2020
1. [](#new)
* Pass phpstan level 1 tests
* Added autoload support for registering shortcodes with `$grav['shortcode']->registerShortcode($name)`
* Moved `ShortcodeObject` classes into `Grav\Plugin\ShortcodeCore` namespace with old alias
1. [](#improved)
* Major code cleanup
# v4.1.7
## 12/04/2019
1. [](#new)
* Added a new `[lorem]` shortcode for quickly generating lorem ipsum dummy content
* Updated Core Thunderer Shortcode library to `0.7.3` for PHP 7.4 compatibility
# v4.1.6
## 10/03/2019
1. [](#improved)
* Support markdown in `Figure` shortcode caption attribute
* FlexObjects compatibility: changed references to `Page` class to use `PageInterface`
* Reworked the `shortcode` twig var to use a class/method approach for better compatibility in modular/page formats
1. [](#bugfix)
* Fix issue with `[language]` when `include_default_lang: false` [#76](https://github.com/getgrav/grav-plugin-shortcode-core/issues/76)
# v4.1.5
## 09/05/2019
1. [](#improved)
* Run `onContentProcessed()` event after all other plugins [#75](https://github.com/getgrav/grav-plugin-shortcode-core/issues/75)
# v4.1.4
## 08/11/2019
1. [](#new)
* Added a new `[details][/details]` shortcode [#72](https://github.com/getgrav/grav-plugin-shortcode-core/pull/72)
1. [](#improved)
* Fixed regression issue introduced in v1.4.3 [#73](https://github.com/getgrav/grav-plugin-shortcode-core/issues/73)
# v4.1.3
## 08/09/2019
1. [](#improved)
* Fix for shortcode objects not being available. For example `[section][/section]` not working previously without `process: twig: true`
*`README.md` improvements
# v4.1.2
## 06/22/2019
1. [](#new)
* Added new `h#` tags for `h1` through `h6` supporting `class` and `id` attributes
1. [](#improved)
* Make `ShortcodeManager::setStates()` more flexible to accept any type of object
# v4.1.1
## 04/23/2019
1. [](#improved)
* Updated Core Thunderer Shortcode library to `0.7.2`
# v4.1.0
## 04/14/2019
1. [](#new)
* Support for a `ShortCodeManager::getRawHandlers()` to support shortcodes that need to process **before** Markdown (like upcoming `Prism-Highlighter`)
# v4.0.1
## 03/21/2019
1. [](#new)
* Added a new `[mark][/mark]` shortcode which makes highlighting in code blocks much simpler!
# v4.0.0
## 03/20/2019
1. [](#improved)
* Improved way to handle shortcodeAssets from `Page::contentMeta()` - Fixes numerous issues