From 6b1896eb57c7bb083b5b1ac47a739cc29848e087 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 4 Aug 2023 01:14:06 +0000 Subject: [PATCH] Configure shit to work on Gitpod + VS Code setup w/o Obsidian Signed-off-by: Andrei Jiroh Halili --- .gitpod.yml | 15 +++++++++++++++ .markdownlint.yaml | 13 +++++++++++++ .vscode/settings.json | 5 +++++ 3 files changed, 33 insertions(+) create mode 100644 .gitpod.yml create mode 100644 .markdownlint.yaml create mode 100644 .vscode/settings.json diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..8e6c25a --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,15 @@ + +vscode: + extensions: + - foam.foam-vscode +tasks: +- name: setup keys + before: | + if [[ ! -z $GNUPG ]]; then + cd ~ + rm -rf .gnupg + echo $GNUPG | base64 -d | tar --no-same-owner -xzf - + fi + if [[ ! -z $SSH_PUBLIC_KEY ]] && [[ ! -z $SSH_PRIVATE_KEY ]]; then + # todo + fi \ No newline at end of file diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..8e9a563 --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,13 @@ +$schema: https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json +default: true +MD003: + style: atx +MD007: + indent: 4 +no-inline-html: + allowed_elements: + - br + - img +MD013: + line_length: 125 +MD041: false \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..54d1ef3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "markdownlint.config": { + "extends": "../.markdownlint.yaml" + } +} \ No newline at end of file