Embedding diagrams in Microsoft SharePoint wiki pages

The following paragraph explains how to embed single diagrams in Microsoft SharePoint wiki pages.

Microsoft SharePoint wiki ignores JavaScript parts in HTML code like many wikis/content management systems. So if you insert the code and save, JavaScript parts will be automatically removed. The insertion of the HTML code directly into the wiki is not possible. You can however add a webpart to the wiki page that contains the HTML/JavaScript code.

Proceed as follows:

  1. Go to the wiki page and click Edit page on the upper right side under Website actions.
  2. Click Add Webpart and add a Content Editor Webpart.
  3. Edit this Webpart and insert the HTML / JavaScript code as Source code.


The exact procedure can differ depending on the Microsoft SharePoint version you use.