generated from coulomb/repo-seed
extension for ref resolve, explode, implode, weave, tangle
This commit is contained in:
17
examples/migration/legacy-explode-source.md
Normal file
17
examples/migration/legacy-explode-source.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Legacy Explode Successor
|
||||
---
|
||||
|
||||
Opening material that used to be easy to lose in section-only exports.
|
||||
|
||||
# Overview
|
||||
|
||||
The successor explode flow preserves preamble, headings, order, and frontmatter.
|
||||
|
||||
## Detail
|
||||
|
||||
Nested sections remain addressable and roundtrip through the manifest.
|
||||
|
||||
# Follow-Up
|
||||
|
||||
Later sections keep their document order.
|
||||
12
examples/migration/legacy-literate.md
Normal file
12
examples/migration/legacy-literate.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Legacy Literate Successor
|
||||
|
||||
```python {#config}
|
||||
CONFIG = {"ready": True}
|
||||
```
|
||||
|
||||
```python {#main tangle="src/app.py"}
|
||||
<<config>>
|
||||
|
||||
def main():
|
||||
return CONFIG["ready"]
|
||||
```
|
||||
3
examples/migration/legacy-path-include.md
Normal file
3
examples/migration/legacy-path-include.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Path Include
|
||||
|
||||
<!-- mkt:include path="standard/clauses.md" selector="sections[heading~=Warranty]" -->
|
||||
13
examples/migration/legacy-transclusion-context.md
Normal file
13
examples/migration/legacy-transclusion-context.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: Legacy Transclusion Successor
|
||||
namespaces:
|
||||
std: ./standard
|
||||
---
|
||||
|
||||
# Contract Draft
|
||||
|
||||
The old broad transclusion idea is now split into path includes and
|
||||
reference-backed processors.
|
||||
|
||||
```mkt-include {#payment-clause ref="std:clauses.md#payment"}
|
||||
```
|
||||
9
examples/migration/standard/clauses.md
Normal file
9
examples/migration/standard/clauses.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Standard Clauses
|
||||
|
||||
## Payment {#payment}
|
||||
|
||||
Payment is due within 30 days.
|
||||
|
||||
## Warranty {#warranty}
|
||||
|
||||
Warranty begins on the effective date.
|
||||
Reference in New Issue
Block a user