We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be awesome to parse images like the Cake's Html Helper...
Like: ![alt_title](/tests/image01.png)
![alt_title](/tests/image01.png)
and be linked to: APP_URL/img/tests/image01.png.
APP_URL/img/tests/image01.png
The text was updated successfully, but these errors were encountered:
An "workaround" that I found is to use the Cake's Text Helper, and inside your MarkDown you use :IMGURL and replace it to your img url... like:
:IMGURL
<?= $this->CommonMark->convertToHtml( $this->Text->insert( $doc->content, [ 'IMGURL' => $this->Url->build('/', true) . \Cake\Core\Configure::read('App.imageBaseUrl') ] ) ) ?>
Sorry, something went wrong.
No branches or pull requests
It would be awesome to parse images like the Cake's Html Helper...
Like:
![alt_title](/tests/image01.png)
and be linked to:
APP_URL/img/tests/image01.png
.The text was updated successfully, but these errors were encountered: