Skip to content

Commit

Permalink
Add markdown testing file for inline and cloze
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Mar 1, 2022
1 parent 5c662eb commit 2d97210
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/test-vault/Cloze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
cards-deck: Cloze
---

# Cloze
The **Cloze deck** must contain **4 cards** defined in the section [[#Must work ✔️]].

## Must work ✔️

This is a valid ==cloze== that exploits the ==Obsidian Highlight== syntax.

The other mechanism is the {following one} with these parenthesis.

Moreover, the {2:order} of the {1:cloze} support can vary.

And of course {multiple syntax} can be ==mixed== together.

## Must NOT work ❌

### Code blocks
```java
System.out.println("Hey this is not a {valid} one");
```

## Delimiters inside inline code blocks
Suppose to have the following situation `==` where you talk about the equal operator of Haskell and then you talk again about it `==`. Then this must not be considered as a cloze card.

### Math blocks
$$-\frac{1}{12}$$

## Math inline
This is not a good cloze $\frac{3}{2}$
34 changes: 34 additions & 0 deletions docs/test-vault/Inline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
cards-deck: Inline
---

# Inline
#todo The **Inline deck** must contain **5 cards** defined in the section [[#Must work ✔️]].

## Must work ✔️

This is a valid::Inline card

This is a valid :: inline card

This is a valid:: inline card

This is a valid ::inline card

This is a valid:::inline reversed card

## Must NOT work ❌

### Code blocks
```java
System.out.println("Hey this is not :: a valid inline card");
```

### Inline code blocks
This is not `a valid :: inline card`

### Math blocks
This is not a good inline card. $$3::4$$

## Math inline blocks
This is not a good inline $3::4$ card.

0 comments on commit 2d97210

Please sign in to comment.