-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpage-template.py
More file actions
97 lines (92 loc) · 3.21 KB
/
Copy pathpage-template.py
File metadata and controls
97 lines (92 loc) · 3.21 KB
1
2
3
4
5
6
7
8
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# %% [markdown]
# ---
# title: "Page Title" # TODO: add a unique, succinct title for the webpage
# abstract: |
# This page serves as a template for creating new pages in the IPA website. It includes sections for authors, contributors, and content structure.
# date: last-modified # Use 'last-modified' to automatically set the date to the last modification date of the file. Or set a specific date like '2025-01-01' for a fixed date.
#
# format:
# html: default
# ipa-handout-typst: default # Uncomment if you want to use Typst format for PDF generation
# format-links:
# - format: ipa-handout-typst # Uncomment if you want to provide a link to a PDF version of the page
# text: PDF
# icon: file-pdf
#
# # Authors
# # Authors are the main creators of the site's content, credited for their work and responsible for its core development, including writing and editing.
# authors-ipa:
# - "[Author 1](https://poverty-action.org/people/author1_name)"
# - "[Author 2](https://poverty-action.org/people/author2_name)"
# - "[Author 3](https://poverty-action.org/people/author3_name)"
#
# # Contributors
# # Contributors provide support, such as feedback or supplementary materials for the site. They can also be responsible for updating/maintaining the site.
# contributors:
# - "[Contributor 1](https://poverty-action.org/people/contributor1_name)"
# - "[Contributor 2](https://poverty-action.org/people/contributor2_name)"
#
# keywords: ["IPA", "Power Calculations", "Randomization", "Measurement"]
# license: "CC BY 4.0"
# ---
# %% [markdown]
# ## Heading 1
#
# ### Sub-heading 2
#
# ## Heading 2
# %% [markdown]
# ## Usage
#
# To use this template in your Quarto document, specify `format: ipa-typst-typst` in your YAML front matter:
#
# ```yaml
# ---
# title: "Your Document Title"
# author: "Your Name"
# format: ipa-typst-typst
# ---
# ```
#
# Then render with:
#
# ```bash
# quarto render your-document.qmd --to ipa-typst-typst
# ```
# %% [markdown]
# ## Sample Content
#
# Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
#
# ::: {.callout-note}
# Note that there are five types of callouts, including:
# `note`, `warning`, `important`, `tip`, and `caution`.
# :::
#
# ::: {.callout-warning}
# Callouts provide a simple way to attract attention, for example, to this warning.
# :::
#
# ::: {.callout-important}
# Danger, callouts will really improve your writing.
# :::
#
# ::: {.callout-tip}
# ## Tip with Title
#
# This is an example of a callout with a title.
# :::
#
# ::: {.callout-caution collapse="true"}
# ## Expand To Learn About Collapse
#
# This is an example of a 'folded' caution callout that can be expanded by the user. You can use `collapse="true"` to collapse it by default or `collapse="false"` to make a collapsible callout that is expanded by default.
# :::
# %% [markdown]
# ### Subsection Example
#
# This is a subsection to demonstrate heading hierarchy and formatting consistency throughout the document.
# %% [markdown]
# ## Conclusion
#
# This template provides a professional, branded appearance for all HTML and PDF documents generated from Quarto markdown files in this repository.