package markdown_monolith
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Produce a single monolithic Markdown file by inlining linked files
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1.1.tar.gz
md5=780e6bb03f474a071eff8099862aaff5
sha512=d108fab9854ef32d23de532d66046511c202a1667106b20eb9339f82dec416c02f95589dc7183d5fcd44864cd53fd76c8a478639106e2e7e6523d2c526c7fbdb
doc/markdown_monolith.fetch/Fetch/index.html
Module FetchSource
URI Fetching
This module provides functions to fetch content from URIs, supporting both local file paths and remote HTTP/HTTPS URLs.
Local File Fetching
fetch_local_uri uri reads the content of a local file.
Remote and Local Fetching
Source
val fetch_uri_lwt :
?debug:bool ->
allow_remote:bool ->
Uri.t ->
(string, string) result Lwt.tfetch_uri_lwt ?debug ~allow_remote uri asynchronously fetches content from a URI.
Supports the following URI schemes:
- No scheme: Treated as a local file path
file://: Local file accesshttp://andhttps://: Remote HTTP fetching (requiresallow_remote = true)
Note: Remote fetches have no built-in timeout. Consider using Lwt.pick with Lwt_unix.timeout for timeout control.
fetch_uri_sync ?debug ~allow_remote uri synchronously fetches content from a URI.
This is a blocking wrapper around fetch_uri_lwt that runs the Lwt event loop until the fetch completes.
Warning: This function blocks the current thread. For concurrent fetching, use fetch_uri_lwt directly.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page