Skip to content

Commit 094d471

Browse files
committed
Remove 00: hour prefix from every timecode
1 parent 8750cc3 commit 094d471

34 files changed

+6478
-6478
lines changed

src/helpers/rehypeWrapTimecodes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import type { Root, Element, Text, ElementContent } from "hast";
66
* Looks for list items that start with `[<timecode link>]` pattern
77
* and wraps them in <code> tags for styling.
88
*
9-
* Input: <li>[<a href="#intro">00:00:00</a>] Intro</li>
10-
* Output: <li><code>[<a href="#intro">00:00:00</a>]</code> Intro</li>
9+
* Input: <li>[<a href="#intro">00:00</a>] Intro</li>
10+
* Output: <li><code>[<a href="#intro">00:00</a>]</code> Intro</li>
1111
*/
1212
export default function rehypeWrapTimecodes() {
1313
return (tree: Root) => {
@@ -80,4 +80,4 @@ export default function rehypeWrapTimecodes() {
8080
node.children = [codeElement, ...remainingContent];
8181
});
8282
};
83-
}
83+
}

src/transcripts/ankita-kulkarni.md

Lines changed: 187 additions & 187 deletions
Large diffs are not rendered by default.

src/transcripts/behind-react-documentary.md

Lines changed: 146 additions & 146 deletions
Large diffs are not rendered by default.

src/transcripts/elizabeth-woolf.md

Lines changed: 331 additions & 331 deletions
Large diffs are not rendered by default.

src/transcripts/jenny-truong.md

Lines changed: 189 additions & 189 deletions
Large diffs are not rendered by default.

src/transcripts/josh-comeau.md

Lines changed: 195 additions & 195 deletions
Large diffs are not rendered by default.

src/transcripts/matt-pocock_mapleleaf.md

Lines changed: 50 additions & 50 deletions
Large diffs are not rendered by default.

src/transcripts/react-miami-2023.md

Lines changed: 161 additions & 161 deletions
Large diffs are not rendered by default.

src/transcripts/sunil-pai_mark-erikson_rewrites.md

Lines changed: 190 additions & 190 deletions
Large diffs are not rendered by default.

src/transcripts/tejas-kumar.md

Lines changed: 195 additions & 195 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)