ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Sharepoint Wiki code markdown

    IT Discussion
    sharepoint 2013 markdown
    3
    9
    4.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AdamFA
      AdamF
      last edited by

      For those of you using Sharepoint wiki for documentation, have you found a way to do code blocks?

      In other words:

      I want a way to display code snippets in a SharePoint wiki like this.
      thwrT 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        I have not. It sucks for that.

        AdamFA 1 Reply Last reply Reply Quote 0
        • AdamFA
          AdamF @scottalanmiller
          last edited by

          @scottalanmiller OK, well at least I'm not going crazy. I've been searching for a way to do it but haven't found anything. That sucks, the code formatting on this forum rocks.

          scottalanmillerS 1 Reply Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @AdamF
            last edited by

            @fuznutz04 said in Sharepoint Wiki code markdown:

            @scottalanmiller OK, well at least I'm not going crazy. I've been searching for a way to do it but haven't found anything. That sucks, the code formatting on this forum rocks.

            Yeah. Works way better here. Works great on MediaWiki too.

            AdamFA 1 Reply Last reply Reply Quote 0
            • AdamFA
              AdamF @scottalanmiller
              last edited by

              @scottalanmiller Best I could find so far is this: http://hilite.me/

              1 Reply Last reply Reply Quote 1
              • thwrT
                thwr @AdamF
                last edited by thwr

                @fuznutz04 said in Sharepoint Wiki code markdown:

                I want a way to display code snippets in a SharePoint wiki like this.

                Custom CSS and / or some JS syntax highlighting maybe?

                AdamFA 1 Reply Last reply Reply Quote 0
                • AdamFA
                  AdamF @thwr
                  last edited by

                  @thwr said in Sharepoint Wiki code markdown:

                  @fuznutz04 said in Sharepoint Wiki code markdown:

                  I want a way to display code snippets in a SharePoint wiki like this.

                  Custom CSS and / or some JS syntax highlighting maybe?

                  That could work. I really don't understand why MS cant just have it build in. In today's landscape, I shouldn't need to do anything extraordinary to display some code blocks. I want to type 4 back ticks, paste some code and call it a day! </rant>

                  thwrT 1 Reply Last reply Reply Quote 0
                  • thwrT
                    thwr @AdamF
                    last edited by

                    @fuznutz04 said in Sharepoint Wiki code markdown:

                    That could work. I really don't understand why MS cant just have it build in. In today's landscape, I shouldn't need to do anything extraordinary to display some code blocks. I want to type 4 back ticks, paste some code and call it a day! </rant>

                    Would require a custom WYSIWYG editor, IMHO. Not that hard, a custom page could do.

                    1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      CSS an JS highlighting won't do it as the issue isn't markup but getting mangled by the editor.

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post