editor: editor

View source: R/editor.R

editorR Documentation

editor

Description

Start a Shiny app to edit front matter for a lesson. Accepts markdown syntax. The code is found in inst/shiny/gp_editor

Usage

editor(WD = "?", system_browser = TRUE)

Arguments

WD

a local virtualized path to a lesson folder where Google Drive (Web) path will be extracted from front matter. Easiest is to pass "?" which will invoke pick_lesson(); default="?"

system_browser

logical

  • TRUE (default): open in system default web browser

  • FALSE: open in Rstudio browser pane

Value

Outputs to meta/front-matter.yaml


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.