Index
Index
Bases: BaseModel
Index markdown templates list class
Source code in src/task2md/template/index.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
generate(out_dir)
Generate markdown file in output directory
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
out_dir
|
Dir
|
The dir object |
required |
Source code in src/task2md/template/index.py
14 15 16 17 18 19 20 | |
to_md()
Return the content of the file in markdown
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
Markdown content |
Source code in src/task2md/template/index.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |