Wiki markup

Simon Peyton Jones simonpj at microsoft.com
Tue Jun 4 20:53:21 UTC 2019


Ah yes!  You have to indent the triple-backticks by two spaces.  I never thought of that.  Thank you!

Duly noted in my gitlab lore https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/git-lab-spj

Simon

From: Ryan Yates <fryguybob at gmail.com>
Sent: 03 June 2019 18:15
To: Simon Peyton Jones <simonpj at microsoft.com>
Cc: ghc-devs at haskell.org
Subject: Re: Wiki markup

Hi Simon,

I think you can just indent the code block to achieve this.

Ryan

On Mon, Jun 3, 2019 at 12:46 PM Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>> wrote:
This is a GitLab wiki markup question.
Suppose I want to have a bulleted list, in which a single item has some text, then some laid-out code, then more text.  I want the second blob of text to be indented as part of the bullet.
Absent the laid-out code, indenting the second para 2 spaces seems to do it:

* first bit of text



  Second bit of text
But if there is code in the middle, like this

* first bit of text

```

code

```

  Second bit of text
the second bit of text is not indented.
Does anyone know how to achieve the indentation?
Simon
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C18c59b08b1914f0b4d4608d6e8470e7f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636951789237715881&sdata=JtGmVwUWxTKPmOEc52Vl%2F7%2BlF6byc%2FJhreQ5zqLhI%2Fg%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190604/5765d497/attachment.html>


More information about the ghc-devs mailing list