Is there a way to get SharePoint to display code snippets in a pre-formatted way?
Currently if you insert any code, it just looks exactly like the rest of the text. Anything would be better than nothing.
Go to the page where you want to add the Code snippet web part. If your page is not already in edit mode, click Edit at the top right of the page. Click +, and then select Code snippet from the list of web parts. On the toolbar, select the language, whether you want numbered lines, and a light or dark theme.
With a code file open in the editor, choose Snippets > Insert Snippet from the right-click menu, then My Code Snippets.
To insert a snippetIn the upper-right corner of the page, choose the Settings gear, and then choose Design Manager. In Design Manager, in the left navigation pane, choose Edit Master Pages or Edit Page Layouts, depending on what type of file you're editing.
I found hilite.me which produces html styled code which you can insert into a sharpoint wiki.
It supports a number of languages and styles and is an online app.
No because MOSS's wiki is just a new page with the word "wiki" attached to the link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With