-
- Downloads
browse: Improve rendering of reStructuredText README
When a README is written in reStructuredText (rst), convert it to html server side through the use of pypandoc in order to get a proper display of it. Indeed, the client side library used to render markdown (showdown.js) does not handle rst properly and there is no viable solution to convert rst to html directly in the browser.
Showing
- debian/control 1 addition, 0 deletionsdebian/control
- requirements.txt 1 addition, 0 deletionsrequirements.txt
- swh/web/browse/utils.py 18 additions, 1 deletionswh/web/browse/utils.py
- swh/web/browse/views/directory.py 2 additions, 1 deletionswh/web/browse/views/directory.py
- swh/web/browse/views/revision.py 2 additions, 1 deletionswh/web/browse/views/revision.py
- swh/web/browse/views/utils/snapshot_context.py 2 additions, 1 deletionswh/web/browse/views/utils/snapshot_context.py
- swh/web/templates/includes/readme-display.html 11 additions, 3 deletionsswh/web/templates/includes/readme-display.html
Loading
Please register or sign in to comment