A DocFx post processor that converts the src attribute of referenced images to their data-uri.
- Create a new folder called image-datauri in your DocFx template folder
- Create a new folder called
plugins
within the newimage-datauri
folder. - Copy the compiled binaries into the
plugins
folder - Open the
docfx.json
file and add the new template folder."teamplate": [ "default", "templates/image-datauri" ],
- Add this post-processor plugin to the array
"postProcessors" : ["ImageToDataUriPostProcessor"]
- Run
docfx build
in the command line
This project is licensed under the MIT License - see the LICENSE.md file for details.