jhelvy / jhelvy/renderthis

Feature Request: Rendering specific slide in a ratio that is suitable for shared card image

Open
#59 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
178
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi!

Following @gadenbuie advice I open this issue as a feature request:
Originally posted by @uriahf in https://github.com/gadenbuie/garrickadenbuie-com/discussions/115#discussioncomment-2954283

I want to render specific slides as an image for my social cards, @gadenbuie explained how to do it in his blog post but this solution works only for the first slide of the presentation.

I made a small workaround:
I created a new presentation that contains only the desired slide but with the ratio: 191:100 and then I used the code from the mentioned blog post:

https://github.com/uriahf/nb_step_by_step/blob/master/render_image_for_social_card.Rmd

It might be really useful to have a function for that :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked blog post and the workaround in render_image_for_social_card.Rmd to understand the current first-slide-only workflow and the 191:100 social-card ratio. Define the function's input and output behavior for selecting a specific slide, then verify that the selected slide renders at the requested ratio.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.