那么多的'down'都是什么?

经常会看到许多以“down”结尾的单词,其中最重要的当属markdown,但作为R语言的学习者,开发了各种各样的down,我大致梭罗了一些,做一介绍,

markdown

1 markdown

一款轻量级语句工具,基础中的基础,码字之王。

Markdown 是一种轻量级的标记语言,可用于在纯文本文档中添加格式化元素。Markdown 由 John Gruber 于 2004 年创建,如今已成为世界上最受欢迎的标记语言之一。

  1. 专注于文字内容;
  2. 纯文本,易读易写,可以方便地纳入版本控制;
  3. 语法简单,没有什么学习成本,能轻松在码字的同时做出美观大方的排版。

https://markdown.com.cn//


rmarkdown

2 R Markdown

Rstudio中高度集成的工具,可以使用markdown语句,几乎是后续所有down都离不开它,源自谢益辉,其中集成的Knit可以渲染各种效果。

The rmarkdown package (Allaire, Xie, McPherson, et al. 2021) was first created in early 2014. During the past four years, it has steadily evolved into a relatively complete ecosystem for authoring documents, so it is a good time for us to provide a definitive guide to this ecosystem now. At this point, there are a large number of tasks that you could do with R Markdown:

Compile a single R Markdown document to a report in different formats, such as PDF, HTML, or Word.

Create notebooks in which you can directly run code chunks interactively.

Make slides for presentations (HTML5, LaTeX Beamer, or PowerPoint).

Produce dashboards with flexible, interactive, and attractive layouts.

Build interactive applications based on Shiny.

Write journal articles.

Author books of multiple chapters.

Generate websites and blogs.

https://bookdown.org/yihui/rmarkdown/


bookdown

3 bookdown

同样是谢大神的杰作,基于Rmarkdown的电子书生成工具,可以生成gitbook、pdf、word和epub格式的电子书,也是后续各种down的基础

The bookdown package is an open-source R package that facilitates writing books and long-form articles/reports with R Markdown. Features include:

Generate printer-ready books and ebooks from R Markdown documents.

A markup language easier to learn than LaTeX, and to write elements such as section headers, lists, quotes, figures, tables, and citations.

Multiple choices of output formats: PDF, LaTeX, HTML, EPUB, and Word.

Possibility of including dynamic graphics and interactive applications (HTML widgets and Shiny apps).

Support a wide range of languages: R, C/C++, Python, Fortran, Julia, Shell scripts, and SQL, etc.

LaTeX equations, theorems, and proofs work for all output formats.

Can be published to GitHub, bookdown.org, and any web servers.

Integrated with the RStudio IDE.

One-click publishing to https://bookdown.org.


blogdown

4 blogdown

还是谢大神的巨作,使用Rmarkdown创建网站,使用的是hugo主题,包括我的个人博客站也是基于此。

The goal of the blogdown package is to provide a powerful and customizable website output format for R Markdown. Use dynamic R Markdown documents to build webpages featuring:

R code (or other programming languages that knitr supports),

automatically rendered output such as graphics, tables, analysis results, and HTML widgets, and

technical writing elements such as citations, footnotes, and LaTeX math, enabled by the bookdown package.

By default, blogdown uses Hugo, a popular open-source static website generator, which provides a fast and flexible way to build your site content to be shared online. Other website generators like Jekyll and Hexo are also supported.

A useful feature of blogdown sites, compared to other R Markdown-based websites, is that you may organize your website content (including R Markdown files) within subdirectories. This makes blogdown a good solution not just for blogging or sites about R — it can also be used to create general-purpose websites to communicate about data science, statistics, data visualization, programming, or education.

https://bookdown.org/yihui/blogdown/


pagedown.png

5 pagedown

使用R标记和CSS创建漂亮的PDF,再安装rticles这个包以后可以集成多种模版,包括个人简历、期刊杂志、论文等等,也是后续期刊杂志的基础。

The traditional way to beautiful PDFs is often through LaTeX or Word, but have you ever thought of printing a web page to PDF? Web technologies (HTML/CSS/JavaScript) are becoming more and more amazing. It is entirely possible to create high-quality PDFs through Google Chrome or Chromium now. Web pages are usually single-page documents, but they can be paginated thanks to the JavaScript library Paged.js, so that you can have elements like headers, footers, and page margins for the printing purpose. In this talk, we introduce a new R package, pagedown (https://github.com/rstudio/pagedown), to create PDF documents based on R Markdown and Paged.js. Applications of pagedown includes, but not limited to, books, articles, posters, resumes, letters, and business cards. With the power of CSS and JavaScript, you can typeset your documents with amazing elegance (e.g., a single line of CSS, “tr:nth-child(even) { background: #eee; }”, will give you a striped table, and “border-radius: 50%;” gives you a circular element) and power (e.g., HTML Widgets).

https://github.com/rstudio/pagedown


pkgdown

6 pkgdown

一看为R包快速轻松地构建网站的包,建立网站介绍你的包

pkgdown is designed to make it quick and easy to build a website for your package. You can see pkgdown in action at https://pkgdown.r-lib.org: this is the output of pkgdown applied to the latest version of pkgdown. Learn more in vignette(“pkgdown”) or ?build_site.

https://pkgdown.r-lib.org/


officedown

7 officedown

可以集成生成word和ppt的R包,基于的是R Markdown 。

Word

The package facilitates the formatting of Microsoft Word documents produced by R Markdown documents by providing a range of features:

PowerPoint

The package also enhances PowerPoint productions with R Markdown by providing a mechanism for placing results according to the slide template contained in the PowerPoint document used as “reference_doc”. It becomes easy to add several contents in the same slide.

https://github.com/davidgohel/officedown

https://ardata-fr.github.io/officeverse/officedown-for-word.html


8 ElegantBookdown

黄湘云制作的一款将ElegantBook制作成bookdown格式的模板,可以生成很好看的word

在线预览

源码地址:https://github.com/XiangyunHuang/ElegantBookdown


thesisdown

9 thesisdown

使用bookdown软件包更新的R Markdown论文模板的包,是今后写毕业论文的方向,目前衍生了若干高效的’down’,下面有各种例子,有兴趣的话,你也可以自己制作一个。

This project was inspired by the bookdown package and is an updated version of my Senior Thesis template in the reedtemplates package here. It was originally designed to only work with the Reed College LaTeX template, but has since been adapted to work with many different institutions by many different individuals. Check out the Customizing thesisdown to your institution section below for examples.

Currently, the PDF and gitbook versions are fully-functional. The word and epub versions are developmental, have no templates behind them, and are essentially calls to the appropriate functions in bookdown.

https://github.com/ismayc/thesisdown

<colgroup style="box-sizing: border-box;"><col width="27%" style="box-sizing: border-box;"><col width="42%" style="box-sizing: border-box;"><col width="29%" style="box-sizing: border-box;"></colgroup>

College/University Repository Based on
American University SimonHeuberger/eagledown benmarwick/huskydown
Brock University brentthorne/brockdown zkamvar/beaverdown
École Doctorale de Mathématiques Hadamard abichat/hadamardown ismayc/thesisdown
Drexel University tbradley1013/dragondown ismayc/thesisdown
Duke University mine-cetinkaya-rundel/thesisdowndss ismayc/thesisdown
Graduate Institute of International and Development Studies jhollway/iheiddown ulyngs/oxforddown
Heidelberg University, Faculty of Biosciences nkurzaw/heididown phister/huwiwidown
Humboldt University of Berlin phister/huwiwidown ismayc/thesisdown
Kansas State University emraher/wildcatdown benmarwick/huskydown
Massachusetts Institute of Technology ratatstats/manusdown ismayc/thesisdown
Oregon State University zkamvar/beaverdown ismayc/thesisdown
Oxford University davidplans/oxdown ismayc/thesisdown
Queen’s University eugenesit/gaelsdown ismayc/thesisdown
Smith College SmithCollege-SDS/pioneerdown ismayc/thesisdown
Southampton University dr-harper/sotonthesis ismayc/thesisdown
Stanford University mhtess/treedown ismayc/thesisdown
Universidade Federal do Rio de Janeiro COPPE-UFRJ/coppedown ismayc/thesisdown
Université Paris-Saclay abichat/hadamardown ismayc/thesisdown
University College London benyohaiphysics/thesisdownUCL ismayc/thesisdown
University of Arizona kelseygonzalez/beardown ismayc/thesisdown
University of California, Davis ryanpeek/aggiedown DanOvando/gauchodown
University of California, Santa Barbara DanOvando/gauchodown benmarwick/huskydown
University of Florida ksauby/thesisdownufl ismayc/thesisdown
University of Freiburg vivekbhr/doctorRbite ismayc/thesisdown
University of Kansas wjakethompson/jayhawkdown ismayc/thesisdown
University of Manchester juliov/uomthesisdown ismayc/thesisdown
University of Minnesota zief0002/qmedown ismayc/thesisdown
University of New South Wales rensa/unswthesisdown ismayc/thesisdown
University of Salzburg irmingard/salzburgthesisdown ismayc/thesisdown
University of Toronto mattwarkentin/torontodown zkamvar/beaverdown
University of Washington benmarwick/huskydown ismayc/thesisdown
TU Wien ben-schwen/robotdown ismayc/thesisdown
University of Bristol mattlee821/bristolthesis ismayc/thesisdown
Universidade Federal de Santa Catarina lfpdroubi/ufscdown ismayc/thesisdown
Universiteit van Amsterdam lcreteig/amsterdown benmarwick/huskydown
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 203,547评论 6 477
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,399评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 150,428评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,599评论 1 274
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,612评论 5 365
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,577评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,941评论 3 395
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,603评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,852评论 1 297
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,605评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,693评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,375评论 4 318
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,955评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,936评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,172评论 1 259
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 43,970评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,414评论 2 342

推荐阅读更多精彩内容

  • 转载自:https://github.com/crazyhottommy/getting-started-with...
    iColors阅读 1,312评论 0 2
  • Package Control Messages ======================== Markdow...
    SobinWong阅读 478评论 0 0
  • 工欲善其事,必先利其器。总结一下,方便多了。R语言还是很牛逼的,可以干很多事情。有一把顺手的刀还是很重要的。 0....
    Liam_ml阅读 4,600评论 1 60
  • 话要说起来,我接触到的第一门现代语言就是Markdown了。起因是自己年轻的时候,喜欢写作,在网上了解到阳志平、李...
    周运来就是我阅读 1,072评论 0 4
  • 第六章 Markdown工具一箩筐 6.1 记笔记   笔记软件主要是用来帮助用户记录重要信息、事件及想法的。在笔...
    SinkingStone阅读 937评论 0 0