Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PELIMOJI_SIZE_MULTIPLIER configuration setting #16

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

boonew2
Copy link

@boonew2 boonew2 commented Feb 25, 2025

PELIMOJI_SIZE_MULTIPLIER expects a fairly small int that acts as a size multiplier for the displayed emojis. Closes #15.

PELIMOJI_SIZE_MULTIPLIER expects a fairly small int that acts as a size
multiplier for the displayed emojis
@boonew2
Copy link
Author

boonew2 commented Feb 25, 2025

Should hopefully resolve #15

@KayOhtie let me know if anything looks to need tweaked for code style or anything!

README.md Outdated
@@ -30,6 +30,11 @@ By default this plugin operates on source content files with the following file
PELIMOJI_FILE_EXTENSIONS = ["md", "html", "rst", "txt"]
```

`PELIMOJI_SIZE_MULTIPLIER` can be specified to increase the size of all emojis when they are rendered
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be helpful to add a bit more information for users:

  1. The default value (1).
  2. Somehow make it clearer that a value of 2 is two times larger than the default, 3 is 3x, etc.
  3. Add a colon at the end (or a period if the setting description grows to more than one sentence).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just pushed an update to the wording; let me know if further tweaks are needed

Copy link
Contributor

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, Weston! I made one minor comment about documentation.

@justinmayer justinmayer changed the title Add PELIMOJI_SIZE_MULTIPLIER config option Add PELIMOJI_SIZE_MULTIPLIER configuration setting Feb 25, 2025
Copy link
Contributor

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once again, nice work, Weston! I made a small tweak to the documentation wording, rebased this branch on top of my changes in #17, and added a release file so a new package version will be automatically published to PyPI via AutoPub when either @KayOhtie or I use the Squash & Merge button to squash these commits and merge them.

@justinmayer justinmayer requested a review from KayOhtie February 27, 2025 06:35
@justinmayer
Copy link
Contributor

@KayOhtie: Any thoughts about this pull request before the squash, merge, and release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding a scale multiplier config value to increase size of rendered emojis
2 participants