| @@ -1,6 +1,6 @@ | |||
| Package: regexplain | |||
| Title: Rstudio addin to help you with your regexes (in progress) | |||
| Version: 0.1.0 | |||
| Version: 0.1.1 | |||
| Date: 2018-03-07 | |||
| Authors@R: c( | |||
| person("Garrick", "Aden-Buie", email = "g.adenbuie@gmail.com", role = c("aut", "cre")), | |||
| @@ -147,9 +147,9 @@ view_regex <- function( | |||
| if (!render) return(res) | |||
| head <- c( | |||
| "---", "pagetitle: View Regex", "---", | |||
| "<h5>Regex</h5>", | |||
| "<p><pre style = 'font-size: 1em;'>", wrap_regex(pattern, escape, exact), "</pre></p>", | |||
| "<h5>Results</h5>" | |||
| "<h5 style = 'font-size: 1.1em'>Regex</h5>", | |||
| "<p><pre style = 'font-size: 1.25em;'>", wrap_regex(pattern, escape, exact), "</pre></p>", | |||
| "<h5 style = 'font-size: 1.1em'>Results</h5>" | |||
| ) | |||
| res <- c(head, res) | |||
| tmp <- tempfile(fileext = ".Rmd") | |||
| @@ -157,7 +157,7 @@ view_regex <- function( | |||
| tmp_html <- suppressWarnings( | |||
| rmarkdown::render( | |||
| tmp, | |||
| output_format = rmarkdown::html_document(css = system.file('style.css', package='regexhelp')), | |||
| output_format = rmarkdown::html_document(css = system.file('style.css', package='regexhelp'), theme = NULL), | |||
| quiet = TRUE | |||
| )) | |||
| rstudioapi::viewer(tmp_html) | |||
| @@ -2,7 +2,7 @@ | |||
| title: "regexplain" | |||
| output: github_document | |||
| --- | |||
| [](commits/master) | |||
| [](commits/master) | |||
|  | |||
| [](http://www.repostatus.org/#active) | |||
| [](https://cran.r-project.org/package=regexplain) | |||
| @@ -1,7 +1,7 @@ | |||
| regexplain | |||
| ================ | |||
| [](commits/master) | |||
| [](commits/master) | |||
|  | |||
| [![Project Status: Active – The project has reached a stable, usable | |||
| state and is being actively | |||