Skip to content

Commit

Permalink
fix(README): remove tags hiding end of the content
Browse files Browse the repository at this point in the history
I removed the `details` and `summary` HTML tags used to wrap
`./test/negative-tests/for-mdx/mdx_cases.ml.corrected.expected`'s
`part=matching` that were hiding the end of `README.mdx`.

PS: I don't know much about MDX, so I'm not sure if this is even a "fix"
or the best way to fix it. If you have a better solution, go for it!

Signed-off-by: GitFenixZ <[email protected]>
  • Loading branch information
GitFenixZ committed Apr 14, 2024
1 parent de43eaf commit b2205a6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ The formatting applied depends on the type of delimiter used in `str` (i.e. whet
Here is an example containing several cases of output that are subject to distinct
formatting rules and how they appear in `[%expect]` and `[%expect_exact]` blocks:

<details>
<summary>Expand examples</summary>
<!-- $MDX file=./test/negative-tests/for-mdx/mdx_cases.ml.corrected.expected,part=matching -->
```ocaml
let%expect_test "matching behavior --- no content" =
Expand Down Expand Up @@ -246,7 +244,6 @@ Over many a quaint and curious
\ volume of forgotten lore "]
;;
```
</details>

Expect-test is by default permissive about this formatting, so that a
`[%expect]` block that is correct modulo formatting is
Expand Down

0 comments on commit b2205a6

Please sign in to comment.