Page MenuHomeSoftware Heritage

assets/readme-rendering: Use showdown github flavor for github origins
ClosedPublic

Authored by anlambert on Jun 13 2022, 1:26 PM.

Details

Summary

When rendering a markdown README coming from a github origin, use
showdown github flavor in order to enable HTML rendering options
specific to github (header id format for instance).

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D7979 (id=28754)

Rebasing onto ca459efe19...

Current branch diff-target is up to date.
Changes applied before test
commit 5425cd7666e5eb29f77ab93cd63e218eb8edcea5
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Mon Jun 13 13:23:46 2022 +0200

    assets/readme-rendering: Use showdown github flavor for github origins
    
    When rendering a markdown README coming from a github origin, use
    showdown github flavor in order to enable HTML rendering options
    specific to github (header id format for instance).

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1899/ for more details.

This revision is now accepted and ready to land.Jun 13 2022, 1:55 PM

Extract origin URL from current browsed one as it is more reliable.

Build is green

Patch application report for D7979 (id=28762)

Rebasing onto ca459efe19...

Current branch diff-target is up to date.
Changes applied before test
commit 662ce6eafc3d89645fadb5ccbf9c1e40b2f17c9e
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Mon Jun 13 13:23:46 2022 +0200

    assets/readme-rendering: Use showdown github flavor for github origins
    
    When rendering a markdown README coming from a github origin, use
    showdown github flavor in order to enable HTML rendering options
    specific to github (header id format for instance).

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1900/ for more details.