Add custom function to parse training pages for bytesize links
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 98
- Forks
- 298
- Avg merge
- 14h 38m
- Merged PRs (30d)
- 38
Description
Is your feature request related to a problem? Please describe.
Outside of event pages, bytesize links need to be embedded with "complex" html. It would be friendlier to contributors
to only need to use a markdown link.
Describe the solution you'd like
Replace the need for:
<div class="ratio ratio-16x9">
<iframe width="560" height="315" src="https://www.youtube.com/embed/xuNYATGFuw4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
with
[Bytesize talk: Title here](https://www.youtube.com/embed/xuNYATGFuw4)
Add a custom function to translate the markdown link into the required html.
Additional context
https://github.com/nf-core/nf-co.re/pull/1063#discussion_r823865533
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the markdown and HTML examples in the issue, then read the linked pull-request discussion for the existing context. Done means a Bytesize markdown link is translated into the required embedded HTML without requiring contributors to write the complex markup.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100