Open
Conversation
Add default feature to build bin Update cli to use fsrx_lib Bump dependencies
Author
|
future plans: Adding a "rich-text" mode to the lib so I can introduce "falloff" in the browser plugin whereby characters get less and less strong providing a less jarring shift from emphasized to normal characters. Having this in a lib allows the cli application to not experience any changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add default feature to build bin
Update cli to use fsrx_lib
Bump dependencies
What:
Migrated the functionality of FSRX into a library that the CLI app uses to mark-up the text.
Why:
Moving fsrx functionality into a library would allow it to be used as a dependency as well to offer the flow state reading conversion of any text. I was looking to add fsrx into my own fork of the himalaya command line webmail client and, instead of just piping the output to fsrx, I wanted to implement it as an output mode.
Another application would be to quickly make a wasm based browser extension to manipulate
<p>tags on a websiteHow:
I changed
clapandattyto be feature dependent, added theclifeature and made it default.I then added a lib that provides the
FSRXStylerstruct that maintains contrast, fixation, saccade mode and regex snippet states.it provides publicly the
style_linefunction which accepts a&strand returns a FSRX styledStringChecklist:
Allow edits from maintainersoption checked[your_username]/(ex.thatvegandev/featureX)