h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

Horizontal Rules


Typographic replacements

Enable typographer option to see result.

(c) (C) (r) (R) (tm) (TM) (p) (P) +-

test.. test... test..... test?..... test!....

!!!!!! ???? ,, -- ---

"Smartypants, double quotes" and 'single quotes'

Emphasis

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough

Blockquotes

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.

Lists

Unordered

  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

Ordered

  1. Lorem ipsum dolor sit amet

  2. Consectetur adipiscing elit

  3. Integer molestie lorem at massa

  4. You can use sequential numbers...

  5. ...or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar

Code

Example of inline code with backticks. Example when it's more than one line of inline code, also when paragraphs are breaking into new lines with more code.

Syntax highlighting

use super::prelude::*;

use aide::axum::ApiRouter;
use aide::axum::routing::get_with;
use schemars::JsonSchema;
use serde::{Serialize, Deserialize};

use crate::database::queries::audit_log::get_audit_logs as get_audit_logs_query;

#[derive(Serialize, Deserialize, JsonSchema)]
pub struct ResponseAuditLogs {
    data: Option<String>,
}

pub async fn get_audit_logs(State(state): State<AppState>) -> impl IntoApiResponse {
    let audit_logs = get_audit_logs_query(state.database).await.unwrap();

    let response = vec![ResponseAuditLogs { data: Some(audit_logs) }];

    Json(response)
}

pub fn get_audit_logs_docs(op: TransformOperation) -> TransformOperation {
    op.tag("Audit Logs")
        .description("Get all audit logs")
        .response::<200, Json<Vec<ResponseAuditLogs>>>()
}

pub fn create_audit_logs_routes(state: AppState) -> ApiRouter {
    ApiRouter::new()
        .api_route("/audit-logs", get_with(get_audit_logs, get_audit_logs_docs))
        .with_state(state)
}

Tables

OptionDescription
datapath to data files to supply the data that will be passed into templates.
engineengine to be used for processing templates. Handlebars is the default.
extextension to be used for dest files.

Right aligned columns

OptionDescription
datapath to data files to supply the data that will be passed into templates.
engineengine to be used for processing templates. Handlebars is the default.
extextension to be used for dest files.

link text

link with title