Skip to content

Knit R Markdown documents live on the app and download source and knit documents.

License

Notifications You must be signed in to change notification settings

mayank7jan/live-Knit-Rmd

Repository files navigation

Website shields.io made-with-Rshiny made-with-Markdown made-with-latex License: GPL v3 Open Source? Yes!

Introduction

This R Shiny application provides an intitutive user experenice to write markdown documents and see the live rendering on the fly.

Since the output of markdown is native HTML, it paves way for multiple use cases of this application, few of which are listed below -

  • Write blog posts directly in markdown, which can be then integrated with any web development tech stack, such as Wordpress, MERN, React, Native HTML/CSS/JS etc.
  • Write custom e-mailers in markdown, which can be then automatetd to send to 100s of recipents through Robotic Process automation using R, Python, Java.
  • Write project reports in markdown and style with css, so that all your reports have consitent styling and you are focused more on content creation.
  • Users new to markdown format can play with this app to get a hang of its capability.

Additional fun features of this application are -

  • View all available BootStrap themes via the Theme Selection widget.
  • Fully Customize the look and feel of your R Shiny Web application or any bootstrap powered web application by defining/changing color varaibales powered by SASS.

Website

The Markdown application is deployed and live at shinyapps.io

Home Page - View Tab

home-page

Create Tab

createTab

Editor Themes

editorThemes

App Themes

appThemes

Application References

This application uses two major chunks in its implementation, as follows.

  1. Ace Editor - shinyAce is a R package wrapper to implement the live text editor input section.
  2. knitr - R package to convert markdown documents to various formats such as - .docx, .ppt, HTML, ioslides among a few other. Here, we specifically knit it to HTML for live preview update. Here is the repo for the simple implementation of it via more web dev route, from 8 years ago.