class: center, middle, inverse, title-slide .title[ # editable
.gray[for xaringan] ] .subtitle[ ## .big[📝] ] .author[ ###
Garrick Aden-Buie
] .date[ ### xaringanExtra ] --- <style type="text/css"> .gray { color: #999; } .big { font-size: 200%; } .red { color: #d22; } </style> ## What do you think of .can-edit.red[xaringan]? .pull-left[ ### 🤗 Things I like .can-edit.key-likes[ - pro ] ] .pull-right[ ### 😠 Things I don't like .can-edit.key-dislikes[ - con ] ] --- ## How it works Use **editable** from [xaringanExtra](https://github.com/gadenbuie/xaringanExtra). ````markdown ```{r xaringan-editable, echo=FALSE} xaringanExtra::use_editable() ``` ```` Wrap editable things in the `.can-edit[ ]` class. ```markdown ## What do you think of .can-edit.red[xaringan]? ``` Make edits persist across sessions by including a `.key-NAME` class. ```markdown ## What do you think of .can-edit.red.key-Package[xaringan]? ``` --- ## A few more details The `expires` argument of `use_editable()` sets how long edited values are stored. Stored values are tied to each render of the document, so newer versions of a document won't use the values from previous versions. Once your slides are "in production", and the editable fields and names won't change much, use the `id` argument of `use_editable()` to persist values across document versions. --- class: center middle <img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="25%" alt="GitHub Octocat Logo" /> ### [gadenbuie/xaringanExtra](https://github.com/gadenbuie/xaringanExtra)