Skip to content

Commit

Permalink
Add renderMarkdown to project for plugins and extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
piascikj committed Aug 6, 2024
1 parent a03a614 commit 9520a3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions lib/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const exec = require('child_process').exec
const fastSort = require('fast-sort/dist/sort.js')
const Task = require('./task')
const eol = require('eol')
const { renderMarkdown } = require('./adapters/markdown')

function calculateTotals(lists) {
const totals = {}
Expand Down Expand Up @@ -777,4 +778,8 @@ module.exports = class WorkerProject extends Project {
})
})
}

renderMarkdown(content) {
return renderMarkdown(content)
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imdone-core",
"version": "1.44.3",
"version": "1.44.4",
"description": "imdone-core",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 9520a3f

Please sign in to comment.