Skip to content

Instantly share code, notes, and snippets.

library("stringr")
# # Maybe unescape brackets?
# str_replace("\\[", "\\\\\\[", "[")
# str_replace_all(lines_to_check[139], "\\\\\\[", "[")
# # enforce_nonbreaking?
# lines_to_check %>%
# str_replace_all(" = ", " = ") %>%
@bearloga
bearloga / Interactive_Presentations.Rmd
Created December 4, 2015 19:32
This allows the presenter to write and execute R code within the presentation without going back and forth between the presentation and the R console.
---
title: "Interactive Presentations"
author: "Mikhail Popov (@bearloga)"
date: "December 4, 2015"
output: ioslides_presentation
runtime: shiny
---
## Reduce Demo
@liob
liob / BibTexCiteKeyForMarkdown.js
Last active April 13, 2021 13:59
Zotero translator - BibTeX key for Markdown based on the work of Peter O'Brien, Simon Kornblith and Richard Karnesky
{
"translatorID": "7cb70025-a888-4a29-a210-93ec52da40d5",
"translatorType": 3,
"label": "BibTeX key for Markdown",
"creator": "created by liob based on the works of Peter O'Brien, Simon Kornblith and Richard Karnesky",
"target": "bib",
"minVersion": "2.1.9",
"maxVersion": null,
"priority": 200,
"inRepository": true,