What you'll learn
- Implement custom template tags to allow consumers of our library to quickly transform text.
Table of contents
- Setup your local environment for projects. We'll walk you through everything you need to know to setup your local instance and look around at the code you'll be using for this project.
- In this module, we'll implement custom template tags to allow consumers of our library to quickly transform text. These tags will also enable consumers to disable line transformations on a given class using a global symbol. By the end we'll demonstrate the use of several string methods by writing tests that ensure our template tags work as expected.
String manipulation helps developers automate certain parts of working with string values. This particular project will help devs with manipulating characters that mark the ends of lines in a string.
Start with a walkthrough of setting up your environment, learn refactoring variable declarations, string interpolation and raw string processing, and finish by writing test to ensure your template tags work as expected.