Skip to content

Instantly share code, notes, and snippets.

@ricealexander
Last active December 4, 2020 21:52
Show Gist options
  • Save ricealexander/88759ac6e34a5ac32964bbe5be354b4d to your computer and use it in GitHub Desktop.
Save ricealexander/88759ac6e34a5ac32964bbe5be354b4d to your computer and use it in GitHub Desktop.
A template for Transcript Instructions for STLPR Podcasts
<div class="box">
<h3>Request a Transcript</h3>
<p>
Transcripts for St. Louis Public Radio produced programming are available upon request.
<br><br>
To request a transcript for <em>{PROGRAM NAME}</em>,
let us know the episode date and contact {CONTACT NAME}
at <a href="mailto:{CONTACT EMAIL}">{CONTACT EMAIL}</a>.
</p>
</div>
@ricealexander
Copy link
Author

Ordinarily, <p> ... <br><br> ... </p> screams to be refactored into <p>...</p><p>...</p>

In this case, We need two linebreaks when this template is injected into a small container but only one when it is injected into a large container. Leaving it as two <br> makes it simpler to go back and forth from one form to the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment