Skip to content

Refactor MarkdownPipe #31

Description

@autonomousit

We need to refactor the MarkdownPipe in src/app/pipes/markdown.pipe.ts so that the marked.setOptions({ breaks: true, gfm: true }) call in the constructor is defined as a new private method.

There should be no other code or test changes except for unit tests for the new private constructor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions