Markdown and Markdown Extra Codes

Can somone post or know of a simple guide to using the Markdown and Markdown extra formatting codes when posting and editing new deals etc.

I've tried a few but they never seem to work. The instructions linked to are a tad confusing.

Comments

  • [x]no space(y) <=> x=text, y=link
    x

    >
    quote (no enter)

    quote

    __ bold __ or ** double asterisks ** (no space)
    bold or double asterisks

    _ italic _ or * single asterisks * (no space)
    italic or single asterisks

    #
    H1 (no enter)

    H1

    some more tips here :)

  • There was a place where you could practise them but i can't seem to find it


    Here is a small guide:
    For Quotes use >
    i.e.

    Quote


    For Bold Use 2 asterisk(*) or two underscores (_) on each side of the word you want bolded
    i.e. (without the slash/)
    /BOLD so that would look like
    BOLD


    For italics, Use 1 asterisk() or one underscore(_) on each side of the word you want italicized
    i.e. (without the slask/)
    /
    italic* would look like
    italic


    For bullet points use +, - , or * at the beginning of each sentence
    i.e. +Bullet—> But you need this on a new line, so it would look like

    • Bullet

    For BIG BOLD, use one # hash at the beginning of each line
    so it would look like

    BIG BOLD

  • Right, stop posting the links to daring fireballs markdown, since most of the stuff does not work. I tried images, tables, so much stuff. Damn infuriating.

    • images

      Images are disabled — actual image won't be displayed but just a link.

      tables

      Tried the Markdown Extra code?

      Heading 1 Heading 2 Heading 3
      Row 1 Col 1 Row 1 Col 2 Row 1 Col 3
      Row 2 Col 1 Row 2 Col 2 Row 2 Col 3
      Row 3 Col 1 Row 3 Col 2 Row 3 Col 3

      It should be working.

  • Word Macro to Convert Hyperlinks to Markdown

    Here's a Word Macro that should make it easier to convert a Word doc with hyperlinks to OzBargain Markdown with similarly embedded hyperlinks. I modified the macro from a Microsoft answers post and left the original attribution in to give credit where is due

    Sub HyperLinkConvertToOzBargainMarkdown()
        ' Charles Kenyon 2020-07-19
        ' From https://answers.microsoft.com/en-us/msoffice/forum/all/macro…
        ' Change hyperlink to html format <a href="https://www.nejm.org/doi/full/10.1056/nejmoa1112010">as reported in NEJM</a>
        '
        '
        ' Modified by Rygle 2022-12-02 to convert to Ozbargain Markdown format [Text Description](URL)
        '
        ' This is intended for a Word document where you have embedded hyperlinks in text
        ' and want to make it look similar in the Markdown syntax used by the https://ozbargain.com.au website
        '
        ' How to setup in Word
        ' Have your document setup with text and embedded hyperlinks
        ' Press Alt+F11 to activate the Visual Basic Editor
        ' Select Insert | Module to create a new module
        ' Copy / paste this code in its entirety (from Sub to End Sub) into the module
        ' With the insertion point anywhere in the macro (between Sub and End Sub), press F5 to run the macro
        ' If you have multiple hyperlinks per line, you may need to run this macro several times until all are coverted
        ' It only seems to convert one hyperlink per line, per run. So a line with five hyperlinks will need five runs
        ' Extra runs should not damage already converted text
        ' Finally, switch back to Word.
    
        Dim oLink As Hyperlink
        Dim strText As String
        Dim strLink As String
        For Each oLink In ActiveDocument.Hyperlinks
            Let strText = oLink.Range.Text
            Let strLink = oLink.Range.Hyperlinks(1).Address
            Let oLink.Range.Text = "[" & strText & "](" & strLink & ")"
            Next oLink
        Set oLink = Nothing
    End Sub
    
  • Some great tools for bringing tables from HTML, Excel, or from Word (convert table to text/CSV with Tabs as separator, or commas but must have quotes around each entire cell)

    https://tableconvert.com/html-to-markdown

    https://tableconvert.com/excel-to-markdown

    https://tableconvert.com/csv-to-markdown

Login or Join to leave a comment