-
Notifications
You must be signed in to change notification settings - Fork 11
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
epoxy chunk transformer cannot handle inline instructions #124
Comments
Thanks Albert! When you set The good news is that you can chain transformers, so There's some more information about this in the epoxy_transform() docs, in particular for the As an aside, bold/italic/collapse/etc transformers represent an early iteration of epoxy, and they were helpful in motivating me to figure out how to chain transformers together, which unlocked a few new things. But ultimately, it's a bit more clunky for two reasons: either they apply the same transformation to every replacement or they require some kind of locally-defined syntax (e.g. the |
Huh, that's interesting. I wouldn't have figured that one also needs to include the inline transformer. After all, using only |
Ah, so the wording and naming around all of these pieces is indeed confusing and hard to pin down. Let me break this down a little bit:
|
Hi Garrick,
great package. I'm currently playing around with the CRAN version of your package and I encountered the problem that the epoxy chunk cannot handle inline instructions once a
.transformer
is added. Am I doing something wrong or is this a bug?Reprex
Example from the docs renders just fine
All cars stopped between 2 and 120 feet from a starting speed of 4—25
Fails once an inline formatting option is introduced
I have added a
.dollar
for the first value that is inserted here (This formatting doesn't make sense here but it's just an example 😄 )The text was updated successfully, but these errors were encountered: