UNPKG
remark-code-snippets
Version:
latest (1.1.0)
next (0.1.2)
1.1.0
1.0.1
1.0.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Import snippets of source code from files as code blocks
jknoxville/remark-code-snippets
remark-code-snippets
/
dist
/
index.d.ts
10 lines
(9 loc)
•
279 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
Transformer
}
from
'unified'
;
declare
type
Options
= {
async
?:
Boolean
;
baseDir
?:
string
;
ignoreMissingFiles
?:
boolean
; };
export
default
function
codeImport
(
options
?:
Options
):
Transformer
;
export
declare
function
getReferencedFiles
(
):
string
[];
export
{};