You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any chance of bringing this over to the chrome extension? I find it'd be especially useful when printing documents. As much as I like the the default asciidoctor theme (colours, fonts, etc) I find it is excessively generous with size of margins, padding, etc. Printed documents seem to be as much as twice as many pages as I'd expect the content to require.
The text was updated successfully, but these errors were encountered:
I'm completely in support of this, a compact them is important to have.
Getting there (the right way) means solving the underlying theme issue. We need to overhaul the stylesheet factory so that it builds themes for embedded documents (i.e., previews) in addition to full documents. (see asciidoctor/asciidoctor-stylesheet-factory#18) Then, we need to publish them properly so that they can be pulled down as a dependency.
Based on @Mogztter idea I am using a slightly modified solution. I have added a custom JavaScript and experimented with zoom, transform and transform-origin attributes. In the end I found the following line of code solving my printing issues.
The
brackets-asciidoctor-preview
project ships with a compact version of the asciidoctor theme:https://github.com/asciidoctor/brackets-asciidoc-preview/blob/master/themes/asciidoctor-compact.css
Any chance of bringing this over to the chrome extension? I find it'd be especially useful when printing documents. As much as I like the the default asciidoctor theme (colours, fonts, etc) I find it is excessively generous with size of margins, padding, etc. Printed documents seem to be as much as twice as many pages as I'd expect the content to require.
The text was updated successfully, but these errors were encountered: