![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
gatsby-remark-reference-footnotes
Advanced tools
Readme
Gatsby plugin using remark to generate footnotes.
npm i gatsby-remark-reference-footnotes
group-include
string?
— default: default
If a footnote reference starts with :groupname:
the output can be filtered by this group-name.
reference-link-prefix
string?
— default: ↑
Footnote: in link before reference number
reference-link-suffix
string?
— default: .
Footnote: in link after reference number
reference-text-prefix
string?
— default: ''
Footnote: text before reference link
reference-text-suffix
string?
— default: ' '
Footnote: text after reference link
reference-link-position
string?
— default: start
– options: start
|end
Footnote-Reference: should the reference link be at the start
or end
inline-link-prefix
string?
— default: ''
Footnote-Reference: in link before inline number
inline-link-suffix
string?
— default: ''
Footnote-Reference: in link after inline number
inline-text-prefix
string?
— default: ''
Footnote-Reference: text before inline link
inline-text-suffix
string?
— default: ''
Footnote-Reference: text after inline link
Generate footnotes:
```references
# This code block gets replaced with footnotes
```
If you like to overwrite the global settings in place (camelCase or kebab-case):
```references
# This code block gets replaced with footnotes
group-include: fig
inline-link-prefix: ' Fig. '
inline-link-suffix: '.'
inline-text-prefix: ' '
inline-text-suffix: ''
reference-link-position: end
reference-link-prefix: ' Fig. '
reference-link-suffix: '.⇡'
reference-text-prefix: ' '
reference-text-suffix: ''
```
Global configurations can be set in gatsby-config.js
.
module.exports = ({ root }) => ({
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-reference-footnotes`,
options: {
groupInclude: 'default',
inlineLinkPrefix: '',
inlineLinkSuffix: '',
inlineTextPrefix: '',
inlineTextSuffix: '',
referenceLinkPosition: 'start',
referenceLinkPrefix: '↑ ',
referenceLinkSuffix: '.',
referenceTextPrefix: '',
referenceTextSuffix: ' '
},
}
],
},
},
],
})
Text with[^test] reference footnote[^test].
Text with inline footnote[^here the inline reference].
![Cat](http://placekitten.com/g/80/120)
*This is a cat [^:fig:Reference from a different group]*
<!-- refs -->
[^test]: This is the named reference
### Footnotes
```references
# gets repalced with footnotes
```
### Figures
```references
# gets repalced with footnotes
group-include: fig
inline-link-prefix: 'Fig. '
reference-link-position: end
reference-link-prefix: ' Fig. '
reference-link-suffix: ' ⇡'
reference-text-prefix: ' '
```
FAQs
gatsby remark plugin to generate footnotes
The npm package gatsby-remark-reference-footnotes receives a total of 1 weekly downloads. As such, gatsby-remark-reference-footnotes popularity was classified as not popular.
We found that gatsby-remark-reference-footnotes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.