PHP code example of schumacherfm / mage2-markdown
1. Go to this page and download the library: Download schumacherfm/mage2-markdown library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
schumacherfm / mage2-markdown example snippets
... PHP stuff ...
if ($_attributeValue):
<type name="SchumacherFM\Markdown\Framework\View\MarkdownEngineFactory">
<arguments>
<argument name="engines" xsi:type="array">
<item name="myParser" xsi:type="string">\Namespace\Module\MyAwesomeMarkdownParser</item>
</argument>
</arguments>
</type>