You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ NEW: Initial handling of numbering and references (#14)
This commit introduces the initial handling of internal state,
to match references to target components.
The `eq`, `ref` and `numref` roles are introduced,
which can reference `equation` and `figure` directives
Co-authored-by: Franklin Koch <franklinwkoch@gmail.com>
-`ref`: Reference any labeled or named block, showing title
69
+
-`numref`: Numbered reference for any labeled or named block (use `Figure %s <my_label>`)
70
+
- Basic:
71
+
-`raw`
58
72
59
73
## Supported directives (block extensions)
60
74
@@ -99,12 +113,8 @@ All directives have a fallback renderer, but the the following are specifically
99
113
-`code-cell`
100
114
- Tables:
101
115
-`list-table`
102
-
- HTML:
103
-
-`sub`: Subscript
104
-
-`sup`: Superscript
105
-
-`abbr`: Abbreviation
106
116
- Other:
107
-
-`math`
117
+
-`math`
108
118
109
119
## CSS Styling
110
120
@@ -153,7 +163,7 @@ Now you can start to adapt the code in `src/index.ts` for your plugin, starting
153
163
154
164
Modify the test in `tests/fixtures.spec.ts`, to load your plugin, then the "fixtures" in `tests/fixtures`, to provide a set of potential Markdown inputs and expected HTML outputs.
155
165
156
-
On commits/PRs to the `master` branch, the GH actions will trigger, running the linting, unit tests, and build tests.
166
+
On commits/PRs to the `main` branch, the GH actions will trigger, running the linting, unit tests, and build tests.
157
167
Additionally setup and uncomment the [codecov](https://about.codecov.io/) action in `.github/workflows/ci.yml`, to provide automated CI coverage.
158
168
159
169
Finally, you can update the version of your package, e.g.: `npm version patch -m "🚀 RELEASE: v%s"`, push to GitHub; `git push --follow-tags`, build; `npm run build`, and publish; `npm publish`.
@@ -165,12 +175,11 @@ This can be deployed by [GitHub Pages].
0 commit comments