Option Description
Enable stackoverflow plugin
type: boolean
default: no
plugin_stackoverflow_user
Stackoverflow user id
⏯️ Cannot be preset
type: number
default: 0
plugin_stackoverflow_sections
Displayed sections
answers-top
: display most popular answers
answers-recent
: display recent answers
questions-top
: display most popular questions
questions-recent
: display recent questions
type: array
(comma-separated)
default: answers-top, questions-recent
allowed values: answers-top answers-recent questions-top questions-recent
plugin_stackoverflow_limit
Display limit (per section)
type: number
(1 ≤
𝑥
≤ 30)
default: 2
plugin_stackoverflow_lines
Display limit for questions and answers
Code snippets count as a single line and must be configured with plugin_stackoverflow_lines_snippet
instead
type: number
(0 ≤
𝑥)
zero behaviour: disable
default: 4
plugin_stackoverflow_lines_snippet
Display limit for code snippets
type: number
(0 ≤
𝑥)
zero behaviour: disable
default: 2
name : Top answers from stackoverflow
uses : lowlighter/metrics@latest
with :
filename : metrics.plugin.stackoverflow.svg
token : NOT_NEEDED
base : " "
plugin_stackoverflow : yes
plugin_stackoverflow_user : 1
plugin_stackoverflow_sections : answers-top
plugin_stackoverflow_limit : 2