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

Drinks - DRY Links Proof of Concept #2332

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Antiarchitect
Copy link

@Antiarchitect Antiarchitect commented Feb 28, 2024

Just Proof of Concept of the feature I lacked in many Markdown -> HTML book builders.
Uses <book root>/drinks.txt for general links storage.
Replaces {{#drink somedrink}} placeholders with value from the dict. This feature allows to store repeatable things like brand names and other things subjected to change in one place without need of replace it via grep all over the repo.
It's just PoC written in an hour or so just to find out does the community have similar needs and should it be implemented as side preprocessor or the default one (current variant).

Uses links dict in drinks.txt for general links storage
Replaces `{{#drink somedrink}}` placeholders with value from the dict
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants