basic working functionality for paragraph markers