1
0
silverbullet/website/Markdown/Syntax Highlighting.md
Zef Hemel 0313565610
Complete redo of content indexing and querying (#517)
Complete redo of data store
Introduces live queries and live templates
2023-10-03 14:16:33 +02:00

677 B

SilverBullet comes with syntax highlighters for various programming languages. This page demonstrates some:

name: Pete
function myFunc() {
   console.log("Hello World!");
}
function myFunc(name: string) {
   console.log("Hello", name);
}
select * from my_table;
class MyClass {

}
fn main() {
    // Print text to the console
    println!("Hello World!");
}
fn myFun() {
   
}
<MyTag attribute="cool">

</MyTag>
<b>Regular HTML</b>
class MyClass {


}
void main() {
  print('Hello, World!');
}
void main() {

}