Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does asciidoctor have a setting to remove the <paragraph> and <p> tags from the source it outputs?

I am developing a custom filter in Drupal using asciidoctor and realize that asciidoctor places the output in <div class="paragraph"><p> tags.

Does it have a setting to remove those tags from the output and return just the inner HTML?

like image 473
vfclists Avatar asked Jan 21 '26 03:01

vfclists


1 Answers

There is a different output plugin HTML5s that creates semantic HTML with fewer extra tags. It works both in Ruby and JavaScript environments.

like image 85
ahus1 Avatar answered Jan 23 '26 15:01

ahus1



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!