File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,7 @@ fn main() {
14
14
println! (" Hello, world!" );
15
15
}
16
16
```
17
+
18
+ ``` js
19
+ console .log (" Hello, world!" );
20
+ ```
Original file line number Diff line number Diff line change @@ -238,9 +238,9 @@ easy to include example HTML source code using Markdown -- just paste
238
238
it and indent it, and Markdown will handle the hassle of encoding the
239
239
ampersands and angle brackets. For example, this:
240
240
241
- < div class = " footer " >
242
- © ; 2004 Foo Corporation
243
- </ div >
241
+ ``` html
242
+ < div class = " footer " > © ; 2004 Foo Corporation</ div >
243
+ ```
244
244
245
245
Regular Markdown syntax is not processed within code blocks. E.g.,
246
246
asterisks are just literal asterisks within a code block. This means
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub fn Route(route: ReadSignal<Routes>) -> View {
31
31
#[ component]
32
32
fn Header ( ) -> View {
33
33
view ! {
34
- header( class="p-2 border-b-2 border-slate-500 text-sm font-mono" ) {
34
+ header( class="p-2 border-b-2 border-slate-500 text-sm font-mono sm:px-5 " ) {
35
35
nav( class="flex flex-row justify-between items-center" ) {
36
36
div( class="self-start" ) {
37
37
a( class="hover:underline font-bold" , href="/" ) { "$ cd /home/lukechu" }
@@ -53,9 +53,9 @@ fn Footer() -> View {
53
53
div { "© 2024 Luke Chu" }
54
54
div {
55
55
"Made with "
56
- a( class="hover:underline" , href="https://rust-lang.org" ) { "Rust" }
56
+ a( class="hover:underline font-bold " , href="https://rust-lang.org" ) { "Rust" }
57
57
" and "
58
- a( class="hover:underline" , href="https://github.com/sycamore-rs/sycamore" ) { "Sycamore" }
58
+ a( class="hover:underline font-bold " , href="https://github.com/sycamore-rs/sycamore" ) { "Sycamore" }
59
59
}
60
60
}
61
61
}
You can’t perform that action at this time.
0 commit comments