1
0
forked from javalsai/website
javalsais-website/notes/example.md
2024-09-30 22:26:29 +02:00

675 B

Test Document

This is a text markdown document with even code, LaTeX = \frac{x}{y},

console.log('language codeblocks');

and


LaTeX~Blocks = \frac{x}{y}

and ofc

a complex syntax example

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();
    }
}