Skip to content

Commit

Permalink
📝 add strung_angle to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dekirisu committed Sep 12, 2022
1 parent 9971b7c commit 7e91356
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ fn main(){
let text = NAMED.strung_hashtag("#num#name");
assert_eq!(&text,"1st");

// [strung_angle] for #field_name
let text = NAMED.strung_angle("<num><name>");
assert_eq!(&text,"1st");

// most flexible - inline setting via [strung_dynamic] - a bit less efficient
let text = NAMED.strung_dynamic("<",">","<num><name>");
assert_eq!(&text,"1st");
Expand Down

0 comments on commit 7e91356

Please sign in to comment.