Coder Social home page Coder Social logo

slsongge / add2md Goto Github PK

View Code? Open in Web Editor NEW

This project forked from escher-fu/add2md

0.0 1.0 0.0 848 KB

The helper for R users to type markdown in rmd

Home Page: https://jiaxiangbu.github.io/add2md/

License: Other

R 67.87% HTML 19.60% CSS 3.93% Shell 8.60%

add2md's Introduction

lifecycle Travis build status GitHub All Releases

add2md

The goal of add2md is to help R users to type markdown in .Rmd.

Installation

You can install the released version of add2md from Github with:

devtools::install_github('JiaxiangBU/add2md')
library(add2md)

Usage

m()
#> This is the helper for R users to use markdown.
#> ────────────────────────  Type m1('url') URL ────────────────────────
#> Input m1("url","name")
#> Output [name](url)
#> e.g. m1("https://github.com/JiaxiangBU/add2md/","add2md")
#> [add2md](https://github.com/JiaxiangBU/add2md/)
#> ──────────────────────  Type m2('url','name') Image ──────────────────────
#> Input m2("url","name")
#>  Output ![name](url)
#>  e.g. m2("https://raw.githubusercontent.com/JiaxiangBU/picbackup/master/add2blog_sample_wallpaper.png","The blog wallpaper")
#>  ![The blog wallpaper](https://raw.githubusercontent.com/JiaxiangBU/picbackup/master/add2blog_sample_wallpaper.png)
#> ────────────────────────  Type m3('name') bold ────────────────────────
#> Input m3("name")
#>  Output **name**
#>  e.g. m3("Jiaxiang Li")
#>  **Jiaxiang Li**

Write down this sentence,

https://jiaxiangbu.github.io/add2md/ add2md官网

Here is a unit of space between the two phrases.

  1. Copy it
  2. In the R console, type m1()
  3. Paste it on your position

[add2md官网](https://jiaxiangbu.github.io/add2md/) The return is on the clipboard. Just copy, m1() and paste !

or recommendation!

  1. select
  2. click add-in and automatically paste

You can set the shortcut in Tools -> Modify Keyboard Shortcuts.

Similarly, for

m2

https://raw.githubusercontent.com/JiaxiangBU/picbackup/master/add2blog_sample_wallpaper.png The blog wallpaper

m2()

Similarly, for m3

Jiaxiang Li

m3()

**Jiaxiang Li**

This is a summary title
This is content like image, link and so on.
It can be folded to help readers focus on someting important. 

In the console, call m_detail(), and paste on your document.

This is a summary title

This is content like image, link and so on. It can be folded to help readers focus on someting important.

Example

See the vignettes.

add2md's People

Contributors

jiaxiangbu avatar slsongge avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.