Skip to content

Commit

Permalink
currently we only need heder.begin for latex and html
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Apr 14, 2013
1 parent d961d6b commit 327519b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/pattern.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ all_patterns = list(
chunk.end = '^//\\s*end[.]rcode$', chunk.code = '^/+',
ref.chunk = '^\\s*<<(.+)>>\\s*$',
inline.code = '`r +([^`\n]+)\\s*`',
inline.comment = '^//.*',
header.begin = '={4,}\\s*$')
inline.comment = '^//.*')
)

.sep.label = '^#+\\s*@knitr(.*)$' # pattern for code chunks in an R script
Expand Down

0 comments on commit 327519b

Please sign in to comment.