Skip to content

Commit 208e783

Browse files
authored
feat(TemplateEngine): Add the stream url to the template (#120)
1 parent b2ba03b commit 208e783

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TemplateEngine.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export function NoteTemplateEngine(template: string, episode: Episode) {
100100
return htmlToMarkdown(episode.content);
101101
});
102102
addTag("safetitle", replaceIllegalFileNameCharactersInString(episode.title));
103+
addTag("stream", episode.streamUrl);
103104
addTag("url", episode.url);
104105
addTag("date", (format?: string) =>
105106
episode.episodeDate

0 commit comments

Comments
 (0)