From 904769a64aaf092d3c6d39fed915dad8d168c1af Mon Sep 17 00:00:00 2001 From: mahdavipanah Date: Sun, 14 Apr 2024 05:27:41 +0300 Subject: [PATCH] fix: add line numbers to code snippets --- TODO.md | 11 ++++++++--- config.toml | 5 ++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 52d6460..702b130 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,18 @@ # Posts + +- [ ] Translate https://hamidreza.tech/using-special-symbols-inside-js-multiline-comments in Persian - [x] Add this post: https://virgool.io/@mahdavipanah/typeof-null-vdgnyfdakrob # Project + +- [ ] Add README.md +- [ ] Make archive page `/posts` + - [ ] Put its link in the navbar +- [ ] (theme) Use [giscus](https://github.com/giscus/giscus?tab=readme-ov-file) instead of utteranc + - [ ] Make it configurable from the config file - [x] Add HTML keywords meta tag in pages - [x] Add Google analytics - [x] Add comment section with https://utteranc.es/ -- [ ] Add social section - [x] Add shamsi - [x] Add author info for posts -- [ ] Add README.md - [x] Create custom domain "yavarjs.ir" -- [ ] Make archive page \ No newline at end of file diff --git a/config.toml b/config.toml index fbb4576..38c544a 100644 --- a/config.toml +++ b/config.toml @@ -38,4 +38,7 @@ googleAnalytics = "G-TB5X9PJPXB" [markup] [markup.highlight] - style = "github" \ No newline at end of file + style = "github" + lineNos = true + anchorLineNos = true + lineNumbersInTable = false \ No newline at end of file