Need help? Check out our Support site, then


Source code and WLW

  1. 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

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

  3. 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

Topic Closed

This topic has been closed to new replies.

About this Topic