Skip to content

Commit

Permalink
Change highlighting theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Pankarinko committed Aug 21, 2024
1 parent 5f1e7c8 commit 5adbb76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ output_dir = "docs"
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_theme = "dracula"
highlight_theme = "zenburn"

[extra]
# Put all your custom variables here
2 changes: 1 addition & 1 deletion content/blog/linker.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Since I only came up with the idea of this blog after I already did some things

This was the first and unfortunately most fucked up part of the whole thing so far. Here is the code I have so far in the *script.ld* file:

```css
```ld
ENTRY(asm_entry)
OUTPUT_ARCH(riscv)
Expand Down
12 changes: 6 additions & 6 deletions docs/blog/linker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@ <h2 id="how-i-got-started">How I got started</h2>
<p>Since I only came up with the idea of this blog after I already did some things - mainly to motivate myself - I will try to remember and summarize what I did.</p>
<h3 id="linker-script">Linker Script</h3>
<p>This was the first and unfortunately most fucked up part of the whole thing so far. Here is the code I have so far in the <em>script.ld</em> file:</p>
<pre data-lang="css" style="background-color:#282a36;color:#f8f8f2;" class="language-css "><code class="language-css" data-lang="css"><span>ENTRY(asm_entry)
<pre data-lang="ld" style="background-color:#393939;color:#dedede;" class="language-ld "><code class="language-ld" data-lang="ld"><span style="color:#fed6af;">ENTRY</span><span>(asm_entry)
</span><span>OUTPUT_ARCH(riscv)
</span><span>
</span><span>MEMORY {
</span><span style="color:#fed6af;">MEMORY</span><span> {
</span><span>
</span><span> RAM (rwx) : org = </span><span style="color:#bd93f9;">0</span><span>x</span><span style="color:#bd93f9;">80000000</span><span>, len = </span><span style="color:#bd93f9;">1</span><span>M
</span><span> RAM (rwx) : org = </span><span style="font-weight:bold;color:#87d6d5;">0x80000000</span><span>, len = </span><span style="font-weight:bold;color:#87d6d5;">1M
</span><span>}
</span><span>
</span><span>PHDRS {
</span><span> text PT_LOAD;
</span><span>}
</span><span>
</span><span>SECTIONS {
</span><span style="color:#fed6af;">SECTIONS</span><span> {
</span><span> .text : {
</span><span> . = ALIGN(</span><span style="color:#bd93f9;">8</span><span>);
</span><span> . = </span><span style="color:#fed6af;">ALIGN</span><span>(</span><span style="font-weight:bold;color:#87d6d5;">8</span><span>);
</span><span> PROVIDE(startkernel = .);
</span><span> *(.text)
</span><span> *(.text*)
</span><span> PROVIDE(endkernel = .);
</span><span> } &gt; RAM : </span><span style="color:#ff79c6;">text
</span><span> } &gt; RAM : text
</span><span>}
</span></code></pre>
<h4 id="now-the-explanation">Now the explanation:</h4>
Expand Down

0 comments on commit 5adbb76

Please sign in to comment.