Skip to content

Commit

Permalink
Fix wavedrom tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Crozzers committed Jul 2, 2023
1 parent 666ebef commit 8eb13b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/markdown2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2942,7 +2942,7 @@ class Wavedrom(Extra):
Support for generating Wavedrom digital timing diagrams
'''
name = 'wavedrom'
order = Stage.before(Stage.CODE_BLOCKS) + Stage.after(Stage.PREPROCESS)
order = Stage.before(Stage.CODE_BLOCKS, FencedCodeBlocks) + Stage.after(Stage.PREPROCESS)

def test(self, text):
match = FencedCodeBlocks.fenced_code_block_re.search(text)
Expand Down
2 changes: 1 addition & 1 deletion test/tm-cases/wavedrom.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/tm-cases/wavedrom_no_embed.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ul>
<li>More complex diagram
<ul>
<li>Inside of nested list <br />
<li>Inside of nested list
<script type="WaveDrom">
{ signal: [
{ name: "pclk", wave: 'p.......' },
Expand Down
2 changes: 1 addition & 1 deletion test/tm-cases/wavedrom_no_embed.text
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ And here is a more complex one, inside of a list
{ name: 'clk4', wave: 'xlh.L.Hx' },
]}
```
* Making sure not to break indentation
* Making sure not to break indentation

0 comments on commit 8eb13b4

Please sign in to comment.