From 4f077f5c6219b54febf4555cfe437e96756e4772 Mon Sep 17 00:00:00 2001 From: n Date: Thu, 3 Oct 2024 22:00:57 +0200 Subject: [PATCH 1/3] add markdownlint to CI --- .forgejo/workflows/lint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 7f90f20..2105932 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -12,6 +12,12 @@ jobs: - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v4 + - name: Lint Markdown files + uses: actions/markdownlint-cli2-action@v17 + with: + globs: | + **/*.md + !vendor/*.md - name: Install linters using Composer run: | export COMPOSER_HOME=/tmp -- 2.40.1 From a8e8854cafc34b7f52e05a6ef39a62e1e8584cd3 Mon Sep 17 00:00:00 2001 From: n Date: Thu, 3 Oct 2024 22:10:19 +0200 Subject: [PATCH 2/3] markdownlint fixes --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ab84d10..dcab931 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,21 @@ # ClickAt -[Shaarli](https://github.com/shaarli/Shaarli/) plugin to make microblogging -social networks (Twitter/𝕏, Threads, Bluesky and Fediverse) addresses clickable. +[Shaarli](https://github.com/shaarli/Shaarli/) plugin to make microblogging +social networks (Twitter/𝕏, Threads, Bluesky and Fediverse) addresses +clickable. ## Manual 1. Clone repository in `plugins` directory (plugin directory name must be `clickat`) -``` -$ git clone https://forge.tourmentine.com/n/shaarli-plugin-clickat.git path/to/shaarli/plugins/clickat -``` + + ```shell + git clone https://forge.tourmentine.com/n/shaarli-plugin-clickat.git path/to/shaarli/plugins/clickat + ``` + 2. Activate plugin. 3. Quote users from: - - Twitter/𝕏 with their `@nic`, + + - Twitter/𝕏 with their `@nic`, - Threads with `@nic@threads.net`, - Bluesky with `@nic.bsky.social`, - Fediverse with `@nic@instance`. -- 2.40.1 From 787cbcb4fc5bec2d07a9f9c83f5f08469cdb4788 Mon Sep 17 00:00:00 2001 From: n Date: Thu, 3 Oct 2024 22:33:25 +0200 Subject: [PATCH 3/3] update README.md --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dcab931..1d277f6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ClickAt -[Shaarli](https://github.com/shaarli/Shaarli/) plugin to make microblogging +[Shaarli](https://github.com/shaarli/Shaarli) plugin to make microblogging social networks (Twitter/𝕏, Threads, Bluesky and Fediverse) addresses clickable. @@ -15,7 +15,9 @@ clickable. 2. Activate plugin. 3. Quote users from: - - Twitter/𝕏 with their `@nic`, - - Threads with `@nic@threads.net`, - - Bluesky with `@nic.bsky.social`, - - Fediverse with `@nic@instance`. + - Twitter/𝕏 with their `@nic`, it will display [@nic](https://x.com/nic), + - Threads with `@nic@threads.net`, it will display + [@nic@threads.net](https://threads.net/@nic ), + - Bluesky with `@nic.bsky.social`, it will + display [@nic@bsky.social](https://bsky.app/profile/nic.bsky.social), + - Fediverse with `@nic@instance`, it will display [@nic@instance](https://instance/@nic). -- 2.40.1