Skip to content

Instantly share code, notes, and snippets.

@ilyasozkurt
Created February 24, 2023 09:50
Show Gist options
  • Save ilyasozkurt/a1a5f9fc4a6ec1304332efd395df249c to your computer and use it in GitHub Desktop.
Save ilyasozkurt/a1a5f9fc4a6ec1304332efd395df249c to your computer and use it in GitHub Desktop.
function generateTranscript(subtitles) {
const lines = subtitles.map(subtitle => `<p>${subtitle.text}</p>`);
return lines.join('');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment