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

霸气de小男生 提交于 2019-12-23 17:05:56

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/44859883/does-asciidoctor-have-a-setting-to-remove-the-paragraph-and-p-tags-from-the

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!