Skip to content

Include code examples from files #283

@catamorphism

Description

@catamorphism

Some code examples -- for example, the .wit example in https://component-model.bytecodealliance.org/language-support.html#language-agnostic-tooling -- are in files that exist in the repo in the examples directory. It would be nice to include these files directly in the Markdown rather than copy/pasting. As far as I can tell, pure Markdown and mdbook don't support this functionality (comment if I'm wrong!), but an extension, mdbook-utils, does support it. See first comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions