Skip to content

Commit

Permalink
Merge pull request #25 from fsegurai/development
Browse files Browse the repository at this point in the history
fix/markdown service parse
  • Loading branch information
fsegurai committed Jul 1, 2024
2 parents 9b5d1f8 + 282ce72 commit a509610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fsegurai/ngx-markdown",
"version": "17.0.0-beta.18",
"version": "17.0.0-beta.17",
"description": "Angular library that uses marked to parse markdown to html combined with Prism.js for synthax highlights",
"homepage": "https://github.com/fsegurai/ngx-markdown",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion lib/src/markdown.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class MarkdownService {
this.options.renderer = value;
}

async parse(markdown: string, parseOptions: ParseOptions = this.DEFAULT_PARSE_OPTIONS): Promise<string> {
parse(markdown: string, parseOptions: ParseOptions = this.DEFAULT_PARSE_OPTIONS): string | Promise<string> {
const {
decodeHtml,
inline,
Expand Down

0 comments on commit a509610

Please sign in to comment.