This is a wrapper for stringr::str_wrap and stringr::str_replace_all to wrap text and add an RTL unicode instruction (u202b) for every new line.
1 | str_wrap_RTL(string, width = 80, indent = 0, exdent = 0)
|
width |
positive integer giving target line width in characters. A width less than or equal to 1 will put each word on its own line. |
indent |
non-negative integer giving indentation of first line in each paragraph |
exdent |
non-negative integer giving indentation of following lines in each paragraph |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.