Skip to content

Commit

Permalink
add pat_asciidoc() correspondingly
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Apr 14, 2013
1 parent 38ceef2 commit 4c56835
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/pattern.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ set_pattern = function(type) {
#' @rdname pat_fun
#' @return The patterns object \code{\link{knit_patterns}} is modified as a side
#' effect.
#' @export pat_rnw pat_brew pat_tex pat_html pat_md pat_rst
#' @export pat_rnw pat_brew pat_tex pat_html pat_md pat_rst pat_asciidoc
#' @examples ## see how knit_patterns is modified
#' knit_patterns$get(); pat_rnw(); knit_patterns$get()
#'
Expand All @@ -112,6 +112,8 @@ pat_html = function() set_pattern('html')
pat_md = function() set_pattern('md')
#' @rdname pat_fun
pat_rst = function() set_pattern('rst')
#' @rdname pat_fun
pat_asciidoc = function() set_pattern('asciidoc')

## helper functions

Expand Down

0 comments on commit 4c56835

Please sign in to comment.