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.

Feature request: Add style file

See original GitHub issue

Hi, I have a feature request for something that is not that complicated to implement.

You can add a style to your xml file using this line in the xml-file: <?xml-stylesheet type="text/xsl" href="http://www.yourdomain.com/sitemap.xsl"?>

It would be nice to pass the href using the constructor, e.g.

sitemap({ … stylesheet: ${__dirname}/public/sitemap.xsl,

})

It would be really nice if you could implement this. Basically you’d just have to edit core.js:20 with inserting <?xml-stylesheet type="text/xsl" href="${stylesheet}"?>

Best regards

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
borispoehlandcommented, May 1, 2020

Works like a charm! Thank you man!!!

1reaction
IlusionDevcommented, Apr 16, 2020

I’m going to add it, maybe tomorrow is done! Thanks for the suggestion. 👋

Read more comments on GitHub >

github_iconTop Results From Across the Web

Injecting CSS Stylesheet/File: Feature Request? - Jotform
The current implentation for injecting CSS seems to be a bit clunky due to light-boxed text input, and I was wondering if there...
Read more >
Feature request: Ability to install .user.css (or similar) files, as ...
The main problem I've always had with Stylish is that you need to register an account on userstyles.org and go through the upload...
Read more >
Import CSS styles to apply to assets panel
Recently the company I work for has updated their UI. This change is major although we do incremental changes along the way.
Read more >
Two feature requests: 1.) editor styles, and 2.) a minor UX ...
1.) Consider adding an option to Core, to allow front-end site CSS (typography, color) to be automatically reflected in the post editor in...
Read more >
[SOLVED] Feature Request: Section Comments in style.css
[SOLVED] Feature Request: Section Comments in style.css Montezuma ... It would be helpful, when generating the style.css file, to add a ...
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