• Resolved biggiebhar

    (@biggiebhar)


    Hi,

    Love the plugin, just one small issue. Whenever my page loads, it seems to load the box first without any styling, and then after a second it loads the style and it looks good. Here’s what it looks without the styling:

    View post on imgur.com

    Is there a way to fix this on my end so that the style loads first?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Vicky Agravat

    (@vickyagravat)

    Hello @biggiebhar

    It is a syntax highlighter plugin.

    It will first load code block in simple pre tag.
    As you show in screenshot of your code.

    After all code block will loaded, it will load Java Script file.
    Java Script will examine all code-blocks and render it according to Setting of your code block. (i.e language, theme etc…)
    Meanwhile it is also load CSS according to theme.

    All the process will take some time. it depends your Browser how it fast, and also on your network to load CSS, JS.

    If you want to pre render your code, you have to use some code block which will work on backed, it will give you pre rendered block, as you want.
    You can find it on.

    Thank you.

Viewing 1 replies (of 1 total)

The topic ‘CSS loads slowly’ is closed to new replies.