This Drupal module triggers Symfony events during various stages of PHP CommonMark document parsing via the Markdown module.
Warning: while this is generally production-ready, it's not guaranteed to maintain a stable API and may occasionally contain bugs, being a work-in-progress. Stable releases may be provided at a later date.
-
PHP 8.1
Ensure that you have your Drupal installation set up with the correct Composer
installer types such as those provided by the drupal/recommended-project
template.
If you're starting from scratch, simply requiring that template and following
the Drupal.org Composer
documentation
should get you up and running.
In your root composer.json, add the following to the "repositories" section:
"drupal/ambientimpact_markdown": {
"type": "vcs",
"url": "https://github.com/Ambient-Impact/drupal-ambientimpact-markdown.git"
}Once you've completed all of the above, run composer require "drupal/ambientimpact_markdown:^2.0@dev" in the root of your project to have
Composer install this and its required dependencies for you.
The following major version bumps indicate breaking changes:
-
1.x:
-
Has been
git subtree splitfromAmbient-Impact/drupal-modulesinto a standalone package; version has been reset to 1.x. -
Requires Drupal 9.5.
-
-
2.x:
- Requires Drupal 10 due to non-backwards compatible change to
\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch().
- Requires Drupal 10 due to non-backwards compatible change to