Learn R Programming

samatha (version 0.41)

extract.title: reads a markdown post file and extracts the title Title is taken as the first line in which the line underneath is a double underline i.e. a h1 tag in markdown n.b. the title must be in this format, not e.g. # This is a title

Description

reads a markdown post file and extracts the title Title is taken as the first line in which the line underneath is a double underline i.e. a h1 tag in markdown n.b. the title must be in this format, not e.g. # This is a title

Usage

extract.title(md.file)

Arguments

md.file
.md file of a post

Value

character sting of the title of the post

See Also

extract.tags