Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADR 10: Replace <= with ≤ to avoid linting errors #29

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

matevz
Copy link
Member

@matevz matevz commented Jan 4, 2024

Docusaurus 3.0.1 MDX linter complains:

Error: MDX compilation failed for file "/home/oa/docs/docs/adrs/0010-vrf-elections.md"
Cause: Unexpected character `=` (U+003D) before name, expected a character that can start a name, such as a letter, `$`, or `_`
Details:
{
  "column": 23,
  "message": "Unexpected character `=` (U+003D) before name, expected a character that can start a name, such as a letter, `$`, or `_`",
  "line": 39,
  "name": "39:23",
  "place": {
    "line": 39,
    "column": 23,
    "offset": 1093,
    "_index": 2,
    "_bufferIndex": 20
  },
  "reason": "Unexpected character `=` (U+003D) before name, expected a character that can start a name, such as a letter, `$`, or `_`",
  "ruleId": "unexpected-character",
  "source": "micromark-extension-mdx-jsx",
  "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
}
error Command failed with exit code 1.

Replacing <= with or &le; seems to fix it.

@matevz matevz changed the title ADR-10: Replace <= with ≤ to avoid linting errors ADR 10: Replace <= with ≤ to avoid linting errors Jan 4, 2024
@matevz matevz force-pushed the matevz/adr10/fix-leq-symbol branch from eee6fd2 to 44d2faa Compare January 4, 2024 12:46
0010-vrf-elections.md Outdated Show resolved Hide resolved
@matevz matevz force-pushed the matevz/adr10/fix-leq-symbol branch from 44d2faa to ada71dd Compare January 4, 2024 15:01
@matevz matevz merged commit d76aa7a into main Jan 4, 2024
1 check passed
@matevz matevz deleted the matevz/adr10/fix-leq-symbol branch January 4, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants