File tree Expand file tree Collapse file tree
content/tutorials/empirical_mode_decomposition Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22title : " Empirical Mode Decomposition to Analyze Water Levels"
33author : " Falk Mielke"
4- date : " 2024 -01-12 "
4+ date : " 2026 -01-13 "
55format :
66 html :
77 toc : true
Original file line number Diff line number Diff line change 1+
2+ steps to get a qmd to hugo markdown:
3+
4+ + export hugo-md:
5+ quarto render <file>.qmd --to hugo-md
6+
7+
8+ + preview procedure:
9+ rm tutorials -rf
10+ unzip <zip>
11+ python -m http.server 8887
12+
13+
14+
15+ // should be handled by markdown export
16+ + include yaml
17+ preserve_yaml: true
18+ adjust date, tags, categories and authors
19+
20+
21+ // should be handled by markdown export
22+ + callouts: https://rossabaker.com/configs/website/shortcodes/callout/
23+ ```{=markdown}
24+ {{% callout note %}}
25+ ```
26+ Give a call out to your colleagues!
27+ ```{=markdown}
28+ {{% /callout %}}
29+ ```
30+
31+
32+ // should be handled by markdown export
33+ + section crosslinks:
34+ `<a id="sec-section"></a>`{=markdown}
35+
36+ ## Section
37+
38+
39+ // manually added as {=markdown} export
40+ !! careful with code ticks in markdown export
41+ + figure captions
42+
43+
44+ <img
45+ src="path/to/figure.png"
46+ id="fig-label"
47+ alt="Figure 1: Caption text." />
48+ <figcaption>Figure 1: Caption text.</figcaption><br>
49+
50+ `<figcaption>This is the ``max(y)``.</figcaption><br>`{=markdown}
51+
52+
53+ // should be handled by yaml export options
54+ + equations
55+ in yaml header:
56+ params:
57+ math: true
58+ replace $s$ -> \\(s\\), $$\ldots$$ -> \\[\ldots\\]
59+ eqn with \\(\\) and \\[\\]
60+ cf. math https://gohugo.io/content-management/mathematics/
61+ and https://github.com/quarto-dev/quarto-cli/discussions/12272
You can’t perform that action at this time.
0 commit comments