Skip to content

Commit 4ac1289

Browse files
committed
change order of processing by moving remove-forbidden-content up front
1 parent c88aa26 commit 4ac1289

File tree

4 files changed

+1385
-1
lines changed

4 files changed

+1385
-1
lines changed

md/test-exam-practice-question.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,42 @@
55
## Introduction
66
@@@ #practice
77
### Practice-question
8+
```plantuml
9+
class practice
10+
```
11+
```bash
12+
class practice
13+
```
814
You are a student making an internship at a big company that wants to re-write the legacy software.
915
@@@
1016
@@@ #exam
1117
### Exam-question
18+
```plantuml
19+
class exam
20+
```
21+
```bash
22+
class exam
23+
```
1224
You are employed at a company that wants to re-structure their legacy software.
1325
@@@
1426
## Question
27+
```plantuml
28+
class question
29+
```
30+
```bash
31+
class question
32+
```
1533
* What development tools will you be using?
1634
* Make a plan.
1735
* Explain the steps to get to a finished new product.
1836
@@@ #answer
1937
## Answer
38+
```plantuml
39+
class answer
40+
```
41+
```bash
42+
class answer
43+
```
2044
* Java and Javascript.
2145
* Just do it.
2246
* Do it. See, you're done.

obsidian.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,10 @@ export function lucideIcon(name, color, size = 18) {
362362

363363
export async function preParse(md, req) {
364364
let r = md;
365+
r = await removeForbiddenContent(r, req);
365366
r = await preReplacePlantUml(r, req);
366367
r = preMarkCode(r);
367368
r = preReplaceObsidianFileLinks(r, req);
368-
r = await removeForbiddenContent(r, req);
369369
r = preMarkCallouts(r);
370370
r = unmarkCode(r);
371371
return r;

0 commit comments

Comments
 (0)