Skip to content

author examples as .py files? #62

Description

@jgunstone

thanks for the great package - its really easy to use and useful.

I was wondering if it could be possible to author the examples as python files rather than markdown files with python code blocks?
... because writing the python code in a .md without the benefit of code-completion etc. is a little painful

maybe:

  • by embedding a python file into the markdown examples file at runtime (<< include myexample.py >>)
  • or perhaps as a %format python file with %[markdown] blocks?

or maybe you already have a way to avoid this irritation?

many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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