I have been playing around with building a "bare" HTML output in Asciidoctor using the -s
flag, so that we can embed Asciidoc output into our existing CMS tool for displaying article posts on our site:
$ asciidoctor -s source.asc
I have two questions related to this that would help me simplify the process:
1. Is there a way (similar to -s) to JUST output the styles, or better yet output the <style> tags and the current "-s" output at the same time? Right now I have to cut the styles out of the full output and paste them into the CMS along with the "bare" HTML.
2. We have played around with doing the text styles using top-level CSS on the site, but would like (at a minimum) to bundle the Pygments syntax highlighter styles with the HTML doc output. Any ideas if this is achievable without cut/paste?