Rendering Anchors
By default, anchors are added to all headings in the rendered HTML. To disable this behavior, you can set the add_anchors_to_headings
config value in the the markdown config file to false
.
To render the anchors as links, you can set the render_anchors_as_links
config value to true
.
Publishing the markdown config file
php artisan vendor:publish --provider="Spatie\LaravelMarkdown\MarkdownServiceProvider" --tag="markdown-config"
By default, anchors are added to all headings in the rendered HTML. To disable this behavior, you can set the add_anchors_to_headings
config value in the the markdown config file to false
.
To render the anchors as links, you can set the render_anchors_as_links
config value to true
.
Publishing the markdown config file
php artisan vendor:publish --provider="Spatie\LaravelMarkdown\MarkdownServiceProvider" --tag="markdown-config"