Skip to content

KevinSpaghetti/include-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Include code

A pandoc filter to include remote files in markdown documents (mainly for github code).

Usage

The filter looks for the class .include-code in the code blocks classes.

```{.code-include .cpp}
https://raw.githubusercontent.com/KevinSpaghetti/Raytracer/master/Output/ColorBufferFormat.h
```

The link in the body of the code block will be replaced with the contents of the file.
After the filter has replaced the link with the contents of the file the .include-code tag is removed.

About

A pandoc filter to include code from github into markdown files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages