| | |
| | | @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
| | | |
| | | serve: ## serve |
| | | hugo-obsidian -input=content -output=assets/indices -index -root=. && hugo server |
| | | hugo-obsidian -input=content -output=assets/indices -index -root=. && hugo server --enableGitInfo |
| | |
| | | fetchData.then(({ content }) => { |
| | | const links = [...document.getElementsByClassName("internal-link")] |
| | | links.forEach(li => { |
| | | console.log(li.dataset) |
| | | const linkDest = content[li.dataset.src.replace(basePath, "")] |
| | | if (linkDest) { |
| | | const popoverElement = `<div class="popover"> |
| | |
| | | Block math works with two dollar signs `$$...$$` |
| | | |
| | | $$f(x) = \int_{-\infty}^\infty |
| | | f\hat(\xi\),e^{2 \pi i \xi x} |
| | | f\hat(\xi),e^{2 \pi i \xi x} |
| | | \,d\xi$$ |
| | | |
| | | Inline math also works with single dollar signs `$...$`. For example, Euler's identity but inline: $e^{i\pi} = 0$ |
| | |
| | | delimiters: [ |
| | | {left: '$$', right: '$$', display: true}, |
| | | {left: '$', right: '$', display: false}, |
| | | {left: '\\(', right: '\\)', display: false}, |
| | | {left: '\\[', right: '\\]', display: true} |
| | | ], |
| | | throwOnError : false |
| | | }); |