Skip to content

Commit

Permalink
Rename the commonmark plugin module (#443)
Browse files Browse the repository at this point in the history
to prevent name collisions with the Python commonmark parser.

This change prevents:

```
AttributeError: module 'commonmark' has no attribute 'Parser'
```

Closes #434

Co-authored-by: Aaron Meurer <[email protected]>
  • Loading branch information
CarstenGrohmann and asmeurer authored Aug 12, 2024
1 parent 62fb9cc commit 8b5900e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v7/commonmark/commonmark.plugin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Core]
Name = commonmark
Module = commonmark
Module = commonmark_plugin

[Nikola]
PluginCategory = Compiler
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion v8/commonmark/commonmark.plugin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Core]
Name = commonmark
Module = commonmark
Module = commonmark_plugin

[Nikola]
PluginCategory = PageCompiler
Expand Down
File renamed without changes.

0 comments on commit 8b5900e

Please sign in to comment.