All posts for tag "org"

Total 1 posts
📄 Hugo Syntax Highlighting for Org
C:2023-02-19 M:2023-02-19

Code are stolen from ruippeixotog/quicksort Inline hl_lines hl_lines 1

1
third
hugo exports this type of inline code block into actual code block :( Src Block Maybe hugo doesn't support hl_lines property to highlight certain lines in a src block in org. However, you can use hugo shortcodes to achieve this. Example Traditionally adding property 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 // #+begin_src rust :hl_lines 8 use std::io; use std::io::BufRead; fn quicksort(v: &mut [i32]) { if !