vfclists
vfclists

Reputation: 20221

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?

Upvotes: 3

Views: 132

Answers (1)

ahus1
ahus1

Reputation: 5932

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

Upvotes: 1

Related Questions