source/plugins/stackoverflow/README.md
</td>
<b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_stackoverflow_user</code></h4></td> <td rowspan="2"><p>Stackoverflow user id</p> </td> </tr> <tr> <td nowrap="nowrap">⏯️ Cannot be preset<b>type:</b> <code>number</code>
<b>default:</b> 0
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_stackoverflow_sections</code></h4></td> <td rowspan="2"><p>Displayed sections</p> <ul> <li><code>answers-top</code>: display most popular answers</li> <li><code>answers-recent</code>: display recent answers</li> <li><code>questions-top</code>: display most popular questions</li> <li><code>questions-recent</code>: display recent questions</li> </ul> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>array</code> <i>(comma-separated)</i><b>default:</b> answers-top, questions-recent
<b>allowed values:</b><ul><li>answers-top</li><li>answers-recent</li><li>questions-top</li><li>questions-recent</li></ul></td>
</tr> <tr> <td nowrap="nowrap"><h4><code>plugin_stackoverflow_limit</code></h4></td> <td rowspan="2"><p>Display limit (entries per section)</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(1 ≤ 𝑥 ≤ 30)</i><b>default:</b> 2
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_stackoverflow_lines</code></h4></td> <td rowspan="2"><p>Display limit (lines per questions and answers)</p> <p>Code snippets count as a single line and must be configured with <a href="/source/plugins/stackoverflow/README.md#plugin_stackoverflow_lines_snippet"><code>plugin_stackoverflow_lines_snippet</code></a> instead</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(0 ≤ 𝑥)</i><b>zero behaviour:</b> disable</br> <b>default:</b> 4
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_stackoverflow_lines_snippet</code></h4></td> <td rowspan="2"><p>Display limit (lines per code snippets)</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(0 ≤ 𝑥)</i><b>zero behaviour:</b> disable</br> <b>default:</b> 2
</td> </tr> </table> <!--/options-->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