Skip to content

Feature Showcase

This page show cases the features of this website.

Normal Obsidian Callouts

A note

Hello

A tip

Hello

A abstract

Hi

A info

Hi

A todo

Hi

A tip

Hi

A success

Hi

A question

Hi

A warning

Hi

A failure

Hi

A danger

Hi

A bug

Hi

A example

Hi

A quote

Hi

Syntax Highlighting

Inline

std::cout<< "Hello World!" << std::endl;

Block

#include <iostream>

int main () {
    std::cout << "Hello World" << std::endl;
    return 0;
}

Line Highlight

#include <iostream>

int main () {
    std::cout << "Hello World" << std::endl;
    return 0;
}

Tabbed Content Blocks

print("Hello World!")  
console.log("Hello World");  

Super Fences

Not close - Able

non close able

A note

hello

A tip

hello

Close - Able

3 notifications
A note
**include**{: .hash} <iostream>  
int main () {  
  return 0;  
}  
A note
print("Hello World")
A danger

Following python script does these tasks

  1. Run
  2. close
print("hello")

Following JS code does stuff

  1. run
  2. close
console.log("hello")

Buttons

Send Message
Go to root

Code Annotation

#include <iostream>

int main () {
    std::cout << "Hello World" << std::endl; // (1)!
    return 0;
}
  1. The following object, i.e. cout comes from the std namespace.

Tables

Method Visibility
jump() Yes
calculate_distance() No

Mermaid Diagrams

Sequence Diagram

sequenceDiagram
  autonumber
  Alice->>John: Hello John, how are you?
  loop Healthcheck
      John->>John: Fight against hypochondria
  end
  Note right of John: Rational thoughts!
  John-->>Alice: Great!
  John->>Bob: How about you?
  Bob-->>John: Jolly good!

Class Diagram

classDiagram
  Person <|-- Student
  Person <|-- Professor
  Person : +String name
  Person : +String phoneNumber
  Person : +String emailAddress
  Person: +purchaseParkingPass()
  Address "1" <-- "0..1" Person:lives at
  class Student{
    +int studentNumber
    +int averageMark
    +isEligibleToEnrol()
    +getSeminarsTaken()
  }
  class Professor{
    +int salary
  }
  class Address{
    +String street
    +String city
    +String state
    +int postalCode
    +String country
    -validate()
    +outputAsLabel()  
  }

Pie

pie title Play Time
    "Minecraft": 70
    "Dark Souls": 400
    "Sekiro": 100
    "Night Runners": 30

Footnotes

Hello World 1

Formatting

  • deleted
  • added
  • highlighted

Images with Captions

Dragon Lord

Placidusax

Custom Lists

Unordered List

  • Bullet 1
  • Bullet 2

Order Listed

  1. One
  2. Two

Task List

  • Task 1
  • Task 2
  • Task 3

  1. This is a footnote