Skip to content

Commit

Permalink
change order of processing by moving remove-forbidden-content up front
Browse files Browse the repository at this point in the history
  • Loading branch information
guFalcon committed Nov 19, 2024
1 parent c88aa26 commit 4ac1289
Show file tree
Hide file tree
Showing 4 changed files with 1,385 additions and 1 deletion.
24 changes: 24 additions & 0 deletions md/test-exam-practice-question.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,42 @@
## Introduction
@@@ #practice
### Practice-question
```plantuml
class practice
```
```bash
class practice
```
You are a student making an internship at a big company that wants to re-write the legacy software.
@@@
@@@ #exam
### Exam-question
```plantuml
class exam
```
```bash
class exam
```
You are employed at a company that wants to re-structure their legacy software.
@@@
## Question
```plantuml
class question
```
```bash
class question
```
* What development tools will you be using?
* Make a plan.
* Explain the steps to get to a finished new product.
@@@ #answer
## Answer
```plantuml
class answer
```
```bash
class answer
```
* Java and Javascript.
* Just do it.
* Do it. See, you're done.
Expand Down
2 changes: 1 addition & 1 deletion obsidian.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@ export function lucideIcon(name, color, size = 18) {

export async function preParse(md, req) {
let r = md;
r = await removeForbiddenContent(r, req);
r = await preReplacePlantUml(r, req);
r = preMarkCode(r);
r = preReplaceObsidianFileLinks(r, req);
r = await removeForbiddenContent(r, req);
r = preMarkCallouts(r);
r = unmarkCode(r);
return r;
Expand Down
Loading

0 comments on commit 4ac1289

Please sign in to comment.