isomerpages / mlaw-corp

https://www.mlaw.gov.sg
Other
5 stars 36 forks source link

Formatting issue with indented text and sub-lists #814

Open hueyy opened 1 year ago

hueyy commented 1 year ago

A number of the pages on the MinLaw website contain sub-lists, such as:

  1. This is a level 1 item (i) This is a level 2 item

However, in Markdown, indented text is parsed as code, hence some of the sub-lists are actually rendered on the MinLaw website as if they were code, in a monospace font and a different background colour.

For example, the press release titled MinLaw & IPOS Seek Feedback on Subsidiary Legislation on Regulation of CMOs is rendered as follows:

image

To avoid this, you can use Markdown lists, instead of manually creating numbered bullet points. For instance, instead of using (i) and (ii):

7.             The draft Regulations set out the detailed provisions on the operation of the scheme, specifically:

    (i)    the licence conditions that CMOs must comply with; and

    (ii)   the procedures relating to regulatory actions taken by IPOS, including procedures for making representations, applying for reconsideration, and appealing against such regulatory action.

You can consider writing it as the following:

7. The draft Regulations set out the detailed provisions on the operation of the scheme, specifically:
    - the licence conditions that CMOs must comply with; and
    - the procedures relating to regulatory actions taken by IPOS, including procedures for making representations, applying for reconsideration, and appealing against such regulatory action.

This will render as follows:

  1. The draft Regulations set out the detailed provisions on the operation of the scheme, specifically:
    • the licence conditions that CMOs must comply with; and
    • the procedures relating to regulatory actions taken by IPOS, including procedures for making representations, applying for reconsideration, and appealing against such regulatory action.
billiebongo commented 1 year ago

+1

hueyy commented 1 year ago

@MLAWSW @kforkello @isomeradmin @isomerpages