feat: add notes

This commit is contained in:
2024-09-30 22:26:29 +02:00
parent ae59cb7ed9
commit ba85815b7e
11 changed files with 217 additions and 0 deletions

31
notes/example.md Normal file
View File

@@ -0,0 +1,31 @@
# Test Document
This is a text markdown document with even `code`, $LaTeX = \frac{x}{y}$,
```js
console.log('language codeblocks');
```
and
$$
LaTeX~Blocks = \frac{x}{y}
$$
## and ofc
a complex syntax example
```rust
struct Handler<T: surrealdb::Connection> {
config: crate::config::Schema,
#[allow(dead_code)]
db: surrealdb::Surreal<T>,
}
// This is a comment
/* And this
is multiline
*/
#[async_trait]
impl<T: surrealdb::Connection> EventHandler for Handler<T> {
async fn message(&self, ctx: Context, msg: Message) {
let maybe_cmds =
commands::parser::MsgParser::new(&self.config.prefix.to_string(), &msg.content).parse();
}
}
```