Skip to content

Commit

Permalink
3.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
haghish committed Oct 13, 2016
1 parent f60ce5f commit 0198938
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion markdoc.ado
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*** DO NOT EDIT THIS LINE -----------------------------------------------------
Version: 3.8.3
Version: 3.8.4
Title: markdoc
Description: a general-purpose literate programming package for Stata that
produces {it:dynamic analysis documents} and {it:package vignette documentation} in various formats
Expand Down Expand Up @@ -2726,6 +2726,19 @@ program markdoc
local line : subinstr local line " * " "", all
local line : subinstr local line " *" "", all
}

// Removing the "***" marker, when the document is not Slides
// ----------------------------------------------------------

// If we are not exporting to slides, remove the alternative <HR>
if "`export'" != "slide" & "`export'" != "slidy" & "`export'" ///
!= "dzslide" {
local clue
capture local clue : di trim(`"`macval(line)'"')
if "`clue'" == "***" & substr(`"`macval(line)'"',1,4) != " " {
local line : subinstr local line "***" ""
}
}

//TABLES FOR MARKDOWN
//===================
Expand Down
2 changes: 1 addition & 1 deletion markdoc.sthlp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{smcl}
{right:version 3.8.3}
{right:version 3.8.4}
{title:Title}

{phang}
Expand Down

0 comments on commit 0198938

Please sign in to comment.