Convert rule object to list format
rule_to_list.Rd
Converts a markermd_rule S7 object to the list format used by the existing rules module for backward compatibility.
Converts an S7 markermd_rule object to the list format expected by the rules module. This is used when loading existing templates in the template interface.