From b67f0a9b60efb405c3bdb3d72f93f918117a6200 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 8 Jun 2021 00:40:34 +0300 Subject: [PATCH] Entry on my personal journal. Try to embed the GitLab snippets. Allow raw HTML for that. --- .pre-commit-config.yaml | 2 +- content/journal.rst | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 content/journal.rst diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 942ae71..8aa20aa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: rev: v1.0.1 hooks: - id: rst-linter - exclude: spam\.rst + args: [--allow-raw] - repo: https://github.com/myint/rstcheck.git rev: master diff --git a/content/journal.rst b/content/journal.rst new file mode 100644 index 0000000..23c6f4d --- /dev/null +++ b/content/journal.rst @@ -0,0 +1,18 @@ +Personal journal +================ + +:date: 2021-07-08 +:summary: How I write my personal journal +:status: draft + +For more than a year I've been writing on and off in a personal journal. This has +started after a major change in my life that I felt I need to document. My goals +were that it would easy for me to write and easy to review afterwards (also, I +might want to let others access it at a later date). So I went with tools I'm +familiar with: Vim, Markdown, pandoc and make. I wrote a small Makefile and a +template for new entries. Since this ournal is not about technology, but my +life I'm writing in Hebrew, so the files are left-to-right. + +.. raw:: html + + <script src="https://git.shore.co.il/-/snippets/10.js"></script> -- GitLab