jncc / datahub

The JNCC datahub - our online web repository of open data and publications.
1 stars 1 forks source link

Ensure top cat renders markdown in the same way as the hub #173

Closed jonparsonsjncc closed 5 years ago

jonparsonsjncc commented 5 years ago

ie

at present with headings in top cat both these syntax are correct

heading and #### heading ie with and without the sapce

but in the hub only this version #### heading with the spaces actually renders correctly - as this is the correct syntax

the problem is if ####heading is used it is not recognised in the hub as displays as plain text

we need to align the top cat display of markdown to be the same as the hub so this is highlighted to the user as an error before publishing

felixMasonJncc commented 5 years ago

There are a couple of issues here.