Skip to main content
1 of 2

Issue linking Code Prettify alternate CSS file

I have installed the full Google Code Prettify prettify-4-Mar-2013.tar.bz2 found here and hosting my own JavaScript/CSS works fine with the templates provided:

<head>
    <title>Google Code Prettify testing</title>
    <link href="google-code-prettify/src/prettify.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="google-code-prettify/src/run_prettify.js?autoload=true&amp;skin=sons-of-obsidian"></script>
</head>

I'm trying to link to a different CSS file, so that I can customize it. I got one from this Github page and saved it in google-code-prettify\src as instructed on the page. I changed my header as such:

<head>
    <title>Google Code Prettify testing</title>
    <link href="google-code-prettify/src/github.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="google-code-prettify/src/run_prettify.js?autoload=true"></script>
</head>

But then it just renders with the default Prettify style instead of the style from the new CSS file. I'm new at using this tool, and not very experienced designing websites overall so I'm not sure what I am doing wrong.