File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
lib/node_modules/@stdlib/_tools/bib/citation-reference Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ var toReference = require( '@stdlib/_tools/bib/citation-reference' );
2222
2323Returns a reference corresponding to a citation identifier.
2424
25+ <!-- run-disable -->
26+
2527``` javascript
2628toReference ( ' @press1992' , clbk );
2729
@@ -40,6 +42,8 @@ The function accepts the following `options`:
4042
4143To use a specific bibliographic database, set the ` database ` option.
4244
45+ <!-- run-disable -->
46+
4347``` javascript
4448var opts = {
4549 ' database' : ' /foo/bar/baz/bib.bib'
@@ -57,6 +61,8 @@ function clbk( error, reference ) {
5761
5862To use a particular [ Citation Style Language] [ csl ] (CSL), set the ` csl ` option.
5963
64+ <!-- run-disable -->
65+
6066``` javascript
6167var opts = {
6268 ' csl' : ' /foo/bar/baz/style.csl'
@@ -76,6 +82,8 @@ function clbk( error, reference ) {
7682
7783Synchronously return a reference corresponding to a citation identifier.
7884
85+ <!-- run-disable -->
86+
7987``` javascript
8088var ref = toReference .sync ( ' @press:1992' );
8189// returns '...'
@@ -104,6 +112,8 @@ The method accepts the same `options` as [`toReference()`](#to-reference) above.
104112
105113## Examples
106114
115+ <!-- run-disable -->
116+
107117<!-- eslint no-undef: "error" -->
108118
109119``` javascript
You can’t perform that action at this time.
0 commit comments