SWI-Prolog Did You Know Did you know? you can parse markdown Search Documentation:
Predicate prolog_cut_to/1