Need help? Check out our Support site, then

Show CODE in blog

  1. The code tag is actually useless, in my opinion.

    No indentation provided and no colors.

    Is there something I can do to show some c and cpp code nicely in my blog?

    //this would be far too easy with a css rule :P

    The blog I need help with is

  2. No indentation provided and no colors.

    Code for initial line indentation
    Simplest way is to use this at the beginning of each paragraph:
    <span style="margin-left:32px;">FIRST WORD HERE</span>

    and use line breaks instead of paragraph breaks to separate the paragraphs (i.e. one instead of two returns in the HTML editor, shift-return in the Visual editor).

  3. does not choose to include all of the TinyMCE editor modules. See here for what's available:

    There are three ways to change fonts on free hosted blogs.

    (1) Changing font families, colors and size in text in posts or pages either post by post or page by page by coding into the HTML editor.

    (2) Changing font colors in text in posts or pages either post by post or page by page using the #4 icon (Select text color – change the text color) in Row 2 the Visual editor.

    (3) Changing all font families, colors and sizes throughout the whole blog by purchasing an annually renewable Custom Design upgrade and using Typekit Fonts with Staff support.

    Note: A few themes do provide for changing font color in the Blog Title and/or optional Tagline and/or links. In the majority of themes font changes to font families, colors and size in the blog title, tagline, menu, post titles, page titles, categories and tags, widget headings, comments and links cannot be done without purchasing an annually renewable custom design upgrade and doing the required CSS editing.

  4. To display code you need the sourcecode shortcode. See here:

  5. justpi that is what I needed :)

    timethief I really appreciate your responses :D


  6. You're welcome.
    By the way, if you don't want the right sidebar video to be cut off, you can modify the youtube shortcode. Change this:
    to this:
    And you don't need the Music Player widget for that: you could have used a Text widget.

  7. Thanks for making proposals! :D

    Well I used this
    <br /> [youtube=]<br />
    in the text widget. Again it starts from 59.12 sec.
    As you can see the & is replaced by the corresponding html entity.
    Same thing with music player widget.

  8. a) When I said cut off, I meant visually!
    b) "Again it starts from 59.12 sec." I'm not experiencing this.
    c) "the & is replaced by the corresponding html entity." Always. Not to worry.

  9. I am going to remove it then. Thanks for pointing that out.

Topic Closed

This topic has been closed to new replies.

About this Topic