@refrakt-md/learning 0.8.3 → 0.8.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKrD,eAAO,MAAM,QAAQ,EAAE,WA8DtB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKrD,eAAO,MAAM,QAAQ,EAAE,WAkEtB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { config } from './config.js';
4
4
  export const learning = {
5
5
  name: 'learning',
6
6
  displayName: 'Learning',
7
- version: '0.8.3',
7
+ version: '0.8.5',
8
8
  runes: {
9
9
  'howto': {
10
10
  transform: howto,
@@ -12,6 +12,8 @@ export const learning = {
12
12
  description: 'Step-by-step how-to guide with tools/materials list and instructions',
13
13
  seoType: 'HowTo',
14
14
  reinterprets: { 'ordered list': 'steps', list: 'tools/materials', heading: 'title' },
15
+ category: 'Semantic',
16
+ snippet: ['{% howto difficulty="${1|easy,medium,hard|}" %}', '# ${2:How to Do Something}', '', '- ${3:Tool or material needed}', '', '1. ${4:First step}', '2. ${5:Second step}', '{% /howto %}'],
15
17
  fixture: `{% howto estimatedTime="PT45M" difficulty="easy" %}
16
18
  # Set Up a Refrakt Theme
17
19
 
@@ -31,6 +33,8 @@ export const learning = {
31
33
  description: 'Recipe with ingredients, steps, and chef tips. Supports split layout with media zone. Lists become ingredients, ordered lists become steps, blockquotes become tips.',
32
34
  seoType: 'Recipe',
33
35
  reinterprets: { list: 'ingredients', 'ordered list': 'steps', blockquote: 'chef tips', image: 'recipe photo', heading: 'recipe name', 'horizontal rule': 'content/media separator' },
36
+ category: 'Semantic',
37
+ snippet: ['{% recipe prepTime="${1:15m}" cookTime="${2:30m}" servings=${3:4} difficulty="${4|easy,medium,hard|}" %}', '# ${5:Recipe Name}', '', '- ${6:Ingredient one}', '- ${7:Ingredient two}', '', '1. ${8:Step one}', '2. ${9:Step two}', '{% /recipe %}'],
34
38
  fixture: `{% recipe prepTime="PT15M" cookTime="PT30M" servings="4" difficulty="medium" layout="split" %}
35
39
  Quick weeknight classic
36
40
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,QAAQ,GAAgB;IACnC,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE;QACL,OAAO,EAAE;YACP,SAAS,EAAE,KAAK;YAChB,OAAO,EAAE,CAAC,QAAQ,CAAC;YACnB,WAAW,EAAE,sEAAsE;YACnF,OAAO,EAAE,OAAO;YAChB,YAAY,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,EAAE;YACpF,OAAO,EAAE;;;;;;;;;;;;aAYF;SACR;QACD,QAAQ,EAAE;YACR,SAAS,EAAE,MAAM;YACjB,WAAW,EAAE,sKAAsK;YACnL,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,yBAA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E,CAAC,0GAA0G,EAAE,oBAAoB,EAAE,EAAE,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,EAAE,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAC;YAC9P,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BD;SACT;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAA4D;KACpE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@refrakt-md/learning",
3
3
  "description": "Learning runes for refrakt.md — how-to guides and recipes",
4
- "version": "0.8.3",
4
+ "version": "0.8.5",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -21,9 +21,9 @@
21
21
  "build": "tsc"
22
22
  },
23
23
  "dependencies": {
24
- "@refrakt-md/types": "0.8.3",
25
- "@refrakt-md/transform": "0.8.3",
26
- "@refrakt-md/runes": "0.8.3",
24
+ "@refrakt-md/types": "0.8.5",
25
+ "@refrakt-md/transform": "0.8.5",
26
+ "@refrakt-md/runes": "0.8.5",
27
27
  "@markdoc/markdoc": "0.4.0",
28
28
  "reflect-metadata": "^0.2.0"
29
29
  }