[openstreetmap/openstreetmap-website] Switch to using kramdown for markdown formatting (#2111)

Andy Allan notifications at github.com
Wed Jan 16 09:38:46 UTC 2019


OK, looks good to me!

> Note that this doesn't fix all the issues in #2103 as bullet lists nested in numbered lists still don't seem to work as the reporter there is expecting.

That's a problem with our stylesheets - the html outputted by kramdown seems correct as it's outputting `<ul>` tags for the bullet lists. But [in our stylesheets](https://github.com/openstreetmap/openstreetmap-website/blob/fbbabeff1e3bc473720e6eaece83825a9c349ba8/app/assets/stylesheets/common.scss#L2349-L2351) we have:

```
ol li {
  list-style: decimal;
}
```
... and as far as I can tell, that means that any `<ul>` instead of a `<ol><li>` will inherit the decimal list style. Perhaps we could fix that as a followup.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2111#issuecomment-454714092
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190116/2dd77767/attachment.html>


More information about the rails-dev mailing list