forked from rstudio/markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
179 lines (110 loc) · 4.99 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
CHANGES IN markdown VERSION 0.7
BUG FIXES
o if both the 'file' and 'text' arguments are provided but file = NULL,
e.g. markdownToHTML(file = NULL, text = ?), markdownToHTML() can throw an
error indicating the file is invalid (thanks, Tyler Rinker,
hadley/staticdocs#66)
o markdownToHTML(text = ?, output = ?) was broken (#54)
CHANGES IN markdown VERSION 0.6.5
NEW FEATURES
o added an argument 'encoding' to markdownToHTML() to specify the
character encoding of the input markdown file, and the HTML output file is
always encoded in UTF-8 now (thanks, Kohske Takahashi, #50)
CHANGES IN markdown VERSION 0.6.4
NEW FEATURES
o added 'mathjax_embed' to HTML options for embedding the MathJax
JavaScript in the HTML document rather than linking to it online. Note the
JavaScript code is read from the http instead of https MathJax URL.
Contributed by Henrik Bengtsson.
o added another vignette to show the HTML output of the original vignette
(see browseVignettes('markdown'))
o the default CSS style was tweaked (major changes include: page width is
at most 800px, more line height, slightly larger fonts, and a different
syntax highlighting theme)
CHANGES IN markdown VERSION 0.6.3
NEW FEATURES
o added a new argument 'template' to markdownToHTML() so that we can
customize the HTML template (by default, it uses the template
'resources/markdown.html' in this package); thanks, Nacho Caballero
o the options markdown.HTML.stylesheet and markdown.HTML.header used in
markdownToHTML() can be character vectors (they will be processed by
paste(x, collapse = '\n')
MAJOR CHANGES
o the 'text' argument in markdownToHTML() and renderMarkdown() is treated
as lines of input now, i.e. if 'text' is provided, it is passed to the
markdown renderer as paste(text, collapse = '\n'); in the previous
versions, it was processed by paste(text, collapse = '')
CHANGES IN markdown VERSION 0.6
DOCUMENTATION
o added a package vignette; see browseVignettes(package = 'markdown')
CHANGES IN markdown VERSION 0.5.5
NEW FEATURES
o added a new argument 'header' to markdownToHTML() to insert code
into the HTML header (e.g. custom CSS styles)
BUG FIXES
o fixed #25 and #27: minor documentation problems
o fixed #26: the HTML output file will be written relative to the
current working directory now when it contains images that need to
be base64 encoded
o fixed #28: the image URL should be decoded before the image is
based64 encoded
MISC
o Yihui Xie has taken over the maintainership for this package
from Jeffrey Horner
CHANGES IN markdown VERSION 0.5.4
NEW FEATURES
o Both Pandoc title blocks and Jekyll front matter sections are
skipped when rendering markdown documents.
CHANGES IN markdown VERSION 0.5.3
NEW FEATURES
o C/C++ is now a supported language for code block highlighting.
MAJOR CHANGES
o 'hard_wrap' has been dropped while 'mathjax' and 'highlight_code'
have been added to the default list of html options.
BUG FIXES
o fixed parsing of math equations when located at the end of
a line.
CHANGES IN markdown VERSION 0.5.2
NEW FEATURES
o with the new 'latex_math' markdown extensions, users can
include math equations using several syntaxes. For
block level equations, use $$latex ... $$, $$ ... $$, or
\[ ... \]. For inline equations, use $latex...$, $...$,
or \( ... \).
MAJOR CHANGES
o the markdown extension 'ingore_math' was replaced with
'latex_math'.
o users can now use the markdown.HTML.stylesheet option to
override the package default stylesheet.
o setting the fragment_only rendering option or the fragment.only
parameter to markdownToHTML will base64 encode images if
applicable. version 0.5.1 did not.
CHANGES IN markdown VERSION 0.5.1
BUG FIXES
o fixed a GUIDgenerator bug; for escaping math equations before
markdown parsing begins.
o image encoding was fixed for the case when there are more than
one included in a markdown document.
CHANGES IN markdown VERSION 0.5
NEW FEATURES
o added fragment.only parameter to markdownToHTML
o added new html rendering options base64_images, fragment_only,
mathjax, and highlight_code
o added new markdown extension ignore_math
MAJOR CHANGES
o removed safelink from default html rendering options
o the default html rendering options are now hard_wrap, use_xhtml,
smartypants, and base64_images.
BUG FIXES
o fixed syntax errors in C exports
CHANGES IN markdown VERSION 0.4
NEW FEATURES
o added support for post-processing HTML using smartypants filter
o added optional support for rendering a table of contents
MAJOR CHANGES
o changed exported C functions to use an rmd_ prefix (eliminating
potential symbol conflicts with other packages)
o changed default html rendering options to use_xhtml, hard_wrap,
safelink, and smartypants
BUG FIXES
o eliminated name collision with render_markdown function in knitr