Sfoglia il codice sorgente

Fix #4 by removing dependency on bootstrap theme

tags/v0.1.3
Garrick Aden-Buie 8 anni fa
parent
commit
f302d40948
4 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. +1
    -1
      DESCRIPTION
  2. +4
    -4
      R/run_regex.R
  3. +1
    -1
      Readme.Rmd
  4. +1
    -1
      Readme.md

+ 1
- 1
DESCRIPTION Vedi File

@@ -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")),

+ 4
- 4
R/run_regex.R Vedi File

@@ -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)

+ 1
- 1
Readme.Rmd Vedi File

@@ -2,7 +2,7 @@
title: "regexplain"
output: github_document
---
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.0-orange.svg?style=flat-square)](commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.1-orange.svg?style=flat-square)](commits/master)
![](https://img.shields.io/badge/lifecycle-needs_testers-yellow.svg)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/regexplain)](https://cran.r-project.org/package=regexplain)

+ 1
- 1
Readme.md Vedi File

@@ -1,7 +1,7 @@
regexplain
================

[![packageversion](https://img.shields.io/badge/Package%20version-0.1.0-orange.svg?style=flat-square)](commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.1-orange.svg?style=flat-square)](commits/master)
![](https://img.shields.io/badge/lifecycle-needs_testers-yellow.svg)
[![Project Status: Active – The project has reached a stable, usable
state and is being actively

Loading…
Annulla
Salva