Feature request: Add style file
See original GitHub issueHi, 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:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top 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 >
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
Works like a charm! Thank you man!!!
I’m going to add it, maybe tomorrow is done! Thanks for the suggestion. 👋