basic markdown formatter (incomplete)