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
|
|
@ -114,8 +114,8 @@ func SyncExercices(i Importer, theme fic.Theme) []string {
|
|||
}
|
||||
|
||||
// Markdown pre-formating
|
||||
statement = string(blackfriday.Run([]byte(statement)))
|
||||
overview = string(blackfriday.Run([]byte(overview)))
|
||||
statement = ProcessMarkdown(i, statement, edir)
|
||||
overview = ProcessMarkdown(i, overview, edir)
|
||||
headline = string(blackfriday.Run([]byte(headline)))
|
||||
|
||||
e, err := theme.GetExerciceByTitle(ename)
|
||||
|
|
|
|||
Reference in a new issue