generate guide from markdown