Skip to content

Blogger Integration #16

@hongthaiis

Description

@hongthaiis

Hi,
I would like to integrate SunlightJS to blogger. I followed step by step in "installation guide" at your home page: http://sunlightjs.com/docs.html#installation:

  • First, I added these line to my template:

    <link rel="stylesheet" type="text/css" href="/path/to/sunlight.default.css" />
    <script type="text/javascript" src="/[my_path]/sunlight-min.js"></script>
    

    <script type="text/javascript" src="/[my_path]/sunlight.csharp-min.js"></script>
    <script type="text/javascript">
    Sunlight.highlightAll();
    </script>

  • Then, in post, I wrapped code in pre tag:

    public object DoStuff() {
    return new object();
    }
    

But all my result only be this: http://i.imgur.com/JdbOyT1.png
Where am I wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions