Support HTTP for accessing custom CSS

jf's Avatar

jf

18 Jun, 2019 10:55 AM

It would be great if custom CSS styles could be referenced by URL with support for HTTP (ideally even HTTPS). That way, custom styles (e.g. corporate stylesheets) could be maintained centrally on a server with different users in an organisation having access to the up-to-date styles at all times.
It would probably not be possible to track changes made to remote CSS files but I think restarting Marked for changes to take effect would be perfectly acceptable.

  1. Support Staff 1 Posted by Brett on 19 Jun, 2019 03:24 PM

    Brett's Avatar

    A good portion of Marked's functionality surrounding custom CSS relies
    on having a readable file on disk. While that specific functionality
    might not be necessary in every circumstance, it's a large ask to change
    the core handling.

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac