From f38005cdeb71fdad86b83cacbe69f0e204e7d987 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 19 Dec 2022 18:28:22 +0000 Subject: [PATCH] ci: auto-regenerate files --- README.md | 2 +- action.yml | 4 ++++ source/plugins/community/screenshot/README.md | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9eeebea..433a8277 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile -

🧩 Customizable with 43 plugins and 310 options!

+

🧩 Customizable with 43 plugins and 311 options!

diff --git a/action.yml b/action.yml index 98ee9d28..a1dd590b 100644 --- a/action.yml +++ b/action.yml @@ -1310,6 +1310,10 @@ inputs: description: CSS Selector default: + plugin_screenshot_mode: + description: Output mode + default: + plugin_screenshot_viewport: description: Viewport options default: diff --git a/source/plugins/community/screenshot/README.md b/source/plugins/community/screenshot/README.md index f0f56a96..2fc47d12 100644 --- a/source/plugins/community/screenshot/README.md +++ b/source/plugins/community/screenshot/README.md @@ -74,6 +74,25 @@ type: string
default: body
+ + +

plugin_screenshot_mode

+

Output mode

+
    +
  • image: screenshot of selected element
  • +
  • text: keep innerText of selected element
      +
    • ⚠️ Any CSS style applied to text such as font size, weight or color will be removed
    • +
    +
  • +
+ + + + ✨ On master/main
+type: string +
+default: image
+allowed values:
  • image
  • text

plugin_screenshot_viewport