export { dark as theme } from "mdx-deck/themes"; import { Image, Appear } from "mdx-deck"; import { CodeSurfer } from "mdx-deck-code-surfer"; export { components } from "mdx-deck-code-surfer" import nightOwl from "prism-react-renderer/themes/nightOwl"; import MyComponent from "./components/my-component";
public String fizzBuzz(int n){
String s = "";
if (n == 0)
return s;
if((n % 5) == 0)
s = "Buzz" + s;
if((n % 3) == 0)
s = "Fizz" + s;
if (s.equals(""))
s = n + "";
return fizzBuzz(n-1) + s;
}
----
* > Copy pasted from rosettacode.org
1, 3 > Some lines
1:4, 6, 8:10 > Also ranges
2, 4[1:6], 5[2, 4, 6:9] > Some tokens
Something
Appear:
- One
- Two
- Three
Foo
Bar