Source code and WLW

  • Author
    Posts
  • #785093

    mariomajcica
    Member

    Hi all,

    I have a small problem, at first I can’t insert the Source code tags ([sourcecode language="csharp"]) via WLW. WLW always inserts extra html inside that ruins the source code that it is shown. Second, if I paste the code inside the HTML editor on the site, it shows well but on the next edit in WLW it again add’s unnecessary tags.

    Is there a good plugin for this specific functionality on WordPress.com?
    How to overcome this problem?

    Thanks

    #785287

    timethief
    Member

    There is no FTP access to free hosted WordPress.com blogs and we cannot install individual plugins. Does this help? Posting Source Code

    #785429

    mariomajcica
    Member

    There is no need for a custom plugin. http://en.support.wordpress.com/code/posting-source-code/
    By using there described method you can get your code properly formatted. However WLW messes things up.

    Also, visual editor when you paste the code strips off all leading spaces, so you always need to paste into the HTML editor.

    Cheeers

The topic ‘Source code and WLW’ is closed to new replies.