sync: import files in markdown, relative to theme/exercice dir
This commit is contained in:
parent
8c95782eff
commit
87471acf98
6 changed files with 75 additions and 8 deletions
|
|
@ -99,7 +99,7 @@ func SyncThemes(i Importer) []string {
|
|||
authors_str := strings.Join(authors, ", ")
|
||||
|
||||
// Format overview (markdown)
|
||||
intro = string(blackfriday.Run([]byte(intro)))
|
||||
intro = ProcessMarkdown(i, intro, tdir)
|
||||
headline = string(blackfriday.Run([]byte(headline)))
|
||||
|
||||
if i.exists(path.Join(tdir, "heading.jpg")) {
|
||||
|
|
|
|||
Reference in a new issue