[openstreetmap/openstreetmap-website] "Add markdown guidance for code blocks." (PR #4441)

Altilunium notifications at github.com
Thu Dec 28 13:40:18 UTC 2023


Kramdown's code block markdown syntax is slightly different from the popular markdown dialect used on GitHub and GitLab, causing some confusion for users. 

![image](https://github.com/openstreetmap/openstreetmap-website/assets/70379302/ed0f7889-38da-4261-a673-2fd12cca6d3e)

We can solve this problem by adding code block markdown guidance to `_markdown_help.html.erb`.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4441

-- Commit Summary --

  * Add code blocks markdown guidance
  * Update en.yml

-- File Changes --

    M app/views/shared/_markdown_help.html.erb (3)
    M config/locales/en.yml (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4441.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4441.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4441
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4441 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231228/286385ac/attachment.htm>


More information about the rails-dev mailing list