• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

liran-funaro / sphinx-markdown-builder / 43205038641
100%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 10:59AM UTC
Jobs 4
Files 5
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2026 10:58AM UTC coverage: 100.0%. Remained the same
43205038641

push

github

web-flow
Size code fences so backticks in code cannot break out (#133)

## Summary

Inline literals always used one backtick and literal/doctest blocks
always used three, so code containing backticks closed its own fence
early. The fence is now one backtick longer than the longest backtick
run in `node.astext()` (at least 1 inline, at least 3 for blocks).
Inline code that starts or ends with a backtick gets one space of
padding on each side, which CommonMark strips. The closing marker lives
in a new `ContextStatus.code_fence_end` field, so the depart uses the
same fence as the visit (RULES 5).

## Fixtures

Added to `tests/source/blocks.rst`, after the existing code block:

````rst
Inline: ``a`b`` and ```x```.

.. code-block:: markdown

   ```python
   x = 1
   ```
````

Before:

`````markdown
Inline: `a`b` and ``x``.

```markdown
```python
x = 1
```
```
`````

After (`tests/expected/blocks.md`):

`````markdown
Inline: ``a`b`` and `` `x` ``.

````markdown
```python
x = 1
```
````
`````

## Existing golden output that changes

`tests/expected/ExampleRSTFile.md` already had three inline literals
with backticks, and its expected output recorded the broken rendering.
They are now correct:

```diff
-of the heading for that location as link text, use `:ref:`Anchor Text``
+of the heading for that location as link text, use `` :ref:`Anchor Text` ``
-section that you’re linking to, use `:ref:`specified text<Anchor Text>``
+section that you’re linking to, use `` :ref:`specified text<Anchor Text>` ``
-For example, ```these words``` are formatted in a monospace font when the
+For example, ``` ``these words`` ``` are formatted in a monospace font when the
```

No other golden output changes.

## Commands

- `make lint`: passes (black, flake8, pylint 10.00/10).
- `make test`: passes, 15 passed, coverage 100%.

Closes #115

31 of 31 new or added lines in 2 files covered. (100.0%)

796 of 796 relevant lines covered (100.0%)

4.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python-3.14 - 43205038641.1 12 Nov 2026 10:59AM UTC 5
100.0
GitHub Action Run
2 python-3.12 - 43205038641.2 12 Nov 2026 10:59AM UTC 5
100.0
GitHub Action Run
3 python-3.11 - 43205038641.3 12 Nov 2026 10:59AM UTC 5
100.0
GitHub Action Run
4 python-3.13 - 43205038641.4 12 Nov 2026 10:59AM UTC 5
100.0
GitHub Action Run
Source Files on build 43205038641
  • Tree
  • List 5
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43205038641
  • 4c5b4f87 on github
  • Prev Build on main (#43192961607)
  • Next Build on main (#43207910179)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc