Fix unused options and pass them to CustomMarkdownFormatter constructor