adapt to kramdown