generated from coulomb/repo-seed
extension for ref resolve, explode, implode, weave, tangle
This commit is contained in:
15
examples/literate/app.md
Normal file
15
examples/literate/app.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Literate App Example
|
||||
|
||||
This example explains the helper before showing the application entry point.
|
||||
|
||||
```python {#helpers}
|
||||
def helper():
|
||||
return "ready"
|
||||
```
|
||||
|
||||
```python {#main tangle="src/app.py"}
|
||||
<<helpers>>
|
||||
|
||||
def main():
|
||||
return helper()
|
||||
```
|
||||
Reference in New Issue
Block a user