diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2023-07-18 17:08:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 11:08:10 -0400 |
commit | 6b6acb39c69ca713420454a2e78d90e327cad08f (patch) | |
tree | 9dcbc2ae754f860ced3dd2c9e347fa0c3259db5e /test/testdata/proto_format_test/golden.raw | |
parent | 1527ba02e9e00ef53f1703f8b2bcfa2189da4f74 (diff) | |
download | stardoc-6b6acb39c69ca713420454a2e78d90e327cad08f.tar.gz |
Do not HTML-escape and use Markdown inline code for defaults (#161)
Reverts #133 so that HTML escaping is not applied to Markdown. Instead, Markdown content such as docstrings can use HTML formatting and escape angle brackets with backslashes, HTML entities or inline code segments. Default values are embedded in inline code segments instead of `<code>` tags, which does not require escaping.
As a result, docstrings behave just like regular Markdown contexts while default values are rendered without smart quotes and can contain both `<` and `` ` `` without causing escaping issues.
Also includes tests based on #138.
Fixes #137
Closes #138
Fixes #142
Closes #143
Requires https://github.com/bazelbuild/bazel/pull/18867
Co-authored-by: Adam Azarchs <adam.azarchs@10xgenomics.com>
Diffstat (limited to 'test/testdata/proto_format_test/golden.raw')
0 files changed, 0 insertions, 0 deletions