imdone-core 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/card.js CHANGED
@@ -279,6 +279,7 @@ module.exports = function newCard(task, _project, dontParse) {
279
279
  return content.replace(
280
280
  /(!\[.*?\]\()(.*?)(\))/g,
281
281
  (match, p1, imagePath, p3) => {
282
+ if (/^http/.test(imagePath)) return match
282
283
  imagePath = _path.join(
283
284
  _path.dirname(this.fullPath),
284
285
  imagePath
package/lib/constants.js CHANGED
@@ -59,7 +59,7 @@ module.exports = {
59
59
  NO_CONTENT: 'File has no content',
60
60
  },
61
61
  DEFAULT_CONFIG: {
62
- keepEmptyPriority: true,
62
+ keepEmptyPriority: false,
63
63
  code: {
64
64
  include_lists: [
65
65
  'TODO',
@@ -55,6 +55,11 @@ module.exports = function (repo, defaultSettings = defaultSettingsObject) {
55
55
  config.settings.cards.defaultList = lists ? lists[0] : ''
56
56
  }
57
57
 
58
+ // showTagsAndMeta
59
+ if (config.settings.cards.showTagsAndMeta === undefined) {
60
+ config.settings.cards.showTagsAndMeta = true
61
+ }
62
+
58
63
  if (!repo.listExists(config.settings.cards.defaultList) && lists) {
59
64
  config.settings.cards.defaultList = lists[0]
60
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imdone-core",
3
- "version": "1.36.0",
3
+ "version": "1.37.0",
4
4
  "description": "imdone-core",
5
5
  "main": "index.js",
6
6
  "bin": {