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
Is there a way to use custom CSS without adding it to the extension itself? Adding to the extension is a good option, but for me it is not very convenient.
This is what I have tried:
:stylesheet: C:\Test\mystyles.css
Doesn't work. As well, as this:
:stylesheet!:
There is a workaround to use include, yes.
include::C:\Test\Styles.adoc[]
Styles.adoc:
++++
<style>
...
</style>
++++
This workaround isn't good, mainly, because it is necessary to override a lot of existing rules. E.g.
include::C:\Static\mystyles.adoc[]
Good code:
----
Code
----
Bad code:
[.bad]
----
Code
----
.bad pre {background-color: rgba(255, 96, 92, .2) !important;}
The text was updated successfully, but these errors were encountered:
john-cj
changed the title
Custom CSS (yes, I know, it is possible)
Custom CSS using a :stylesheet:Jul 26, 2019
Is there a way to use custom CSS without adding it to the extension itself? Adding to the extension is a good option, but for me it is not very convenient.
This is what I have tried:
Doesn't work. As well, as this:
There is a workaround to use
include
, yes.This workaround isn't good, mainly, because it is necessary to override a lot of existing rules. E.g.
The text was updated successfully, but these errors were encountered: