Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Markdown Bundle Laravel Package

andchir/markdown-bundle

View on GitHub
Deep Wiki
Context7

MarkdownBundle

composer require andchir/markdown-bundle

Usage example:

{{ currentPage.description | markdown }}
{{ currentPage.description | markdown({urlsLinked: false, safeMode: true, breaksEnabled: true, markupEscaped: true}) }}
{{ includeFileContent(currentPage.file_content_path) | markdown }}

Save content from file to the document field:

{% if currentPage.description is defined and currentPage.description is not empty %}
    {{ currentPage.description | markdown }}
{% else %}
    {{ includeFileContent(currentPage.file_content_path, 'documentation', currentPage.id, 'description') | markdown }}
{% endif %}

bundles.php:

return [
    ...,
    Andchir\MarkdownBundle\MarkdownBundle\MarkdownBundle::class => ['all' => true]
];

Command to update content from file:

php bin/console markdown:action update_content documentation file_content_path description
composer require erusev/parsedown
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware