From 9520a3f4a666932ad6fa32bb30b0bf90583bd5f8 Mon Sep 17 00:00:00 2001 From: Jesse Piascik Date: Tue, 6 Aug 2024 11:28:51 -0400 Subject: [PATCH] Add renderMarkdown to project for plugins and extensions --- lib/project.js | 5 +++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/project.js b/lib/project.js index c5cb3a00..43126ece 100644 --- a/lib/project.js +++ b/lib/project.js @@ -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 = {} @@ -777,4 +778,8 @@ module.exports = class WorkerProject extends Project { }) }) } + + renderMarkdown(content) { + return renderMarkdown(content) + } } diff --git a/package-lock.json b/package-lock.json index ff4ae8d5..45fa53c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "imdone-core", - "version": "1.44.3", + "version": "1.44.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "imdone-core", - "version": "1.44.3", + "version": "1.44.4", "license": "MIT", "dependencies": { "@inquirer/editor": "^1.2.12", diff --git a/package.json b/package.json index 0c038420..bcffeb6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "imdone-core", - "version": "1.44.3", + "version": "1.44.4", "description": "imdone-core", "main": "index.js", "scripts": {