-
Notifications
You must be signed in to change notification settings - Fork 28
@include tag #185
Copy link
Copy link
Open
Labels
Description
This is an issue I thought about a long time ago, but I forgot about it, so I don't remember if it's a duplicate issue or if I already posted it, but I couldn't find it, so I'm posting it.
Hi! I'd love to see support for an @include <file-path> tag in Moonwave, similar to Rust’s #![doc = include_str!("README.md")].
Example:
--[=[
@include README.md
]=]
local myMainLibraryEntry = {}
return myMainLibraryEntryThis would insert the contents of the file into the generated docs. It’d be great for reusing documentation from README.md, usage guides, or other markdown files without duplicating content.
Reactions are currently unavailable