racket / racket/racket

[Feature Request] New Parameter: #:framed? in (figure ...) of scriblib/figure module.

Open
#3,577 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
5.2k
Forks
698
Avg merge
18h 34m
Merged PRs (30d)
5

Description

Could we have a new parameter #:framed? for (figure...) of scriblib/figure module?

This will be very useful when the figure that we want to display already has a frame. And also, when we don't want the frame to be as wide as the rest of the text in an html scribble document.

Thank you in advance for considering this feature.
Please Keep Safe.
Enrique C.B.

P.S. A related feature request (for the same module) is to add the option to define (for example) #:label-reset to be able to change the default "Figure" for "Figura" or some other desirable word. Thank you again for also considering this feature.

Congratulations and gratitude for your outstanding work on Scribble and beyond.

Contributor guide

Open the contributing guide

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 locating the scriblib/figure module and the (figure ...) entry point. Read how figure frames and labels are currently generated, then verify the desired #:framed? behavior for HTML Scribble output and clarify whether the related #:label-reset request is part of the same change. Done means both requested options have defined, tested behavior.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.