Skip to content

US federal legislation citation macros for Quarto

License

Notifications You must be signed in to change notification settings

blackerby/leg-cite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leg-cite Extension For Quarto

This filter implements citation macros for United States House and Senate bills, resolutions, amendments, and committee reports, as well as Presidential Nominations. Given a short citation like 118hr8070 between curly brackets (a.k.a. braces — {}), the rendered Quarto document will display a link to the bill, resolution, amendment, report, or nomination referenced by the citation on Congress.gov.

Installing

# this installs from the main Git branch
quarto add blackerby/leg-cite

# the latest release is v0.2.0
quarto add blackerby/[email protected]

Any of these will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Using

Usage is simple: with leg-cite included in the filter list in the header of your qmd document, place a short citation, like 118hr8070, between curly brackets ({}) in your text, i.e., {118hr8070}, and when rendered, your document will display a link to the legislation referenced by the citation on Congress.gov: H.R.8070.

Example

Here is the source code for a minimal example: example.qmd.

About

US federal legislation citation macros for Quarto

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages