It would be nice to see .. code-block:: directive in reStructuredText parser so that your code gets syntax highlighted (see sphinx http://sphinx.pocoo.org/markup/code.html ).
Duplicate of #2288.
(see https://bitbucket.org/percipio/test-readme_rst-code-block-directive for a failing test.)
(see https://bitbucket.org/percipio/test-readme_rst-code-directive for a failing test.)
seem to work for the readme.rst files
How this is a duplicate of #2288 ?
This is not about rst support, it is about syntax highlighting block of code within a special directive in rst files.
Edit: Figure out it is more a duplicate of #7557
It is not possible for this to be a dupe of #2288 as marked, because #2288 is resolved, and this issue is not addressed at all.
Over 6 years later, we'd still love to have bitbucket support syntax highlighting.
Just realized I got married and divorced while this bug was opened haha
Consider this issue as dead, better off follow (and vote) the - still alive - problem at #12191