mcstasscript.helper.managed_mcrun.highlight

mcstasscript.helper.managed_mcrun.highlight

mcstasscript.helper.managed_mcrun.highlight(string, search_term, return_section=False, highlight_type=None, after_lines=5)

Highlights search term in string and returns it, if return_section only sections with term is returned