question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Defining a custom preview CSS according to the documentation does not load new CSS rules

See original GitHub issue

Observed 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

  1. create an empty project in IntelliJ IDEA
  2. create an example.adoc file
  3. create a .asciidoctorconfig file in the root of the project
  4. 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:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ahus1commented, Jun 16, 2022

@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.

0reactions
KerimGcommented, Jun 15, 2022

@ahus1 thank you so much, that helped. And I’m sorry for the silly issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found