Defining a custom preview CSS according to the documentation does not load new CSS rules
See original GitHub issueObserved vs. expected behavior
Followed documentation to change preview pane/window CSS as described here: https://intellij-asciidoc-plugin.ahus1.de/docs/users-guide/features/advanced/stylesheets.html
Expected preview to change but nothing happens.
Steps to reproduce
- create an empty project in IntelliJ IDEA
- create an
example.adocfile - create a
.asciidoctorconfigfile in the root of the project - show preview pane/window
Contents of .asciidoctorconfig are copy-pasted from this documentation:
I tried both a local CSS and a remote CSS
Environment
Tried both on Windows 10 and macOS Monterey (following info is for Win10)
Plugin Version: 0.37.19 IntelliJ Details: Build #IC-221.5787.30, built on May 31, 2022
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
CSS: Cascading Style Sheets - MDN Web Docs
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in HTML or XML (including XML ......
Read more >Create, edit, and attach CSS files to style your site
Create a new CSS file. In your HubSpot account, navigate to Marketing > Files and Templates > Design Tools. Click the folder icon...
Read more >Using custom CSS in your app - R Shiny - RStudio
When developing a Shiny app with custom styles, a balance needs to be struck between easy access to custom styling afforded by inline...
Read more >Override Template Elements with Custom CSS
Use the CSS Editor in Experience Builder to add custom CSS that overrides the default template and Theme panel styles. You can also...
Read more >Style Sheets | WebStorm Documentation - JetBrains
Complete Style Sheet classes from external libraries · Open the HTML file with a CDN link to an external CSS library. WebStorm highlights...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@KerimG - no worries, you’ve come to the right place, as this issue tracker is also for questions. Another place to ask questions is https://asciidoctor.zulipchat.com/, and there is also one for Antora here: https://antora.zulipchat.com/
If you don’t get the answers there, feel free to ask it here again.
Reading your questions, I now understand that it is hard to figure out a scenario where the stylesheet can’t be downloaded, as the preview will fallback to the default stylesheet, but won’t provide a descriptive error message. I raised issue #1076 for that.
@ahus1 thank you so much, that helped. And I’m sorry for the silly issue.