Media/Markdown/markdown_page
library
Functions
-
bundledAssets()
→ Future<Set<String>>
-
Every asset key of the app's bundle, read once; empty when the manifest cannot be read.
-
resolveMarkdownImage(String src, {required String markdownPath, required String imageDirectory, required Set<String> assets})
→ String?
-
The asset an image
src of the Markdown file markdownPath shows: src, relative to the file, or under imageDirectory by path or name; null when none is bundled.
-
markdown without its HTML comments; fenced code keeps them.
-
withResolvedImages(String markdown, String? resolve(String src))
→ String
-
markdown with each image destination resolve maps replaced by its result; fenced code is kept as written.