Is there a user guide for blog content formatting?

  • The "powered by telligent" link at the bottom of the blog edit page goes to what appears to now be a parked domain. I had some old snippets that stopped worked a long time ago as well, but since I wasn't writing anything I didn't really care. 

    Now I actually have some content to contribute but I'm not sure how to get TSQL syntax highlighting in preformatted code blocks, and so on, back into the blog page.

  • We don't have a guide, partially because we weren't sure what to do here.

    We have our own CSS style guide, so depending on a site CSS probably causes most issues. If you use inline styling, then things should come across. One thing to think about is setting images sizes. Most have a link to the full image, but without a sizing, we don't re-render these are smaller than their native size.

  • FWIW, we use 

    pre class="prettyprint lang-sql"

    as the CSS tag for articles. That should work for SQL Code. We have lang=cs, lang-xml, lang-r, lang-vb, as well.

  • Great, that's just the kind of info I was looking for - ie, what stylesheets were available by default. I did discover via experimentation that 'pre class="brush: sql;" - presumably from the SyntaxHighlighter plugin - provides reasonable colours, but the indenting is slightly off with that one, so I'd prefer an alternative.

    Your suggestion doesn't appear to be available - a pre block with that class simply appears as regular preformatted text with no syntax highlighting in my preview. I'm not much of an HTML guy, but I expect I can only use whichever stylesheets/plugins are made available by SSC directly, right? Since obviously the head element isn't made available by the blog editor.

  • The style is applied later. Don't worry about the preview.

  • Roger that, thanks Steve.

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply