File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ md2ast = "md2bbcode.md2ast:main"
2828html2bbcode = " md2bbcode.html2bbcode:main"
2929
3030[project .urls ]
31- Homepage = " https://github.com/RedGuides/md2bbcode"
3231Repository = " https://github.com/RedGuides/md2bbcode.git"
3332Issues = " https://github.com/RedGuides/md2bbcode/issues"
3433Documentation = " https://github.com/RedGuides/md2bbcode#readme"
@@ -48,21 +47,7 @@ include = [
4847 " src/md2bbcode/renderers/*.py" ,
4948 " bb_codes.xml"
5049]
51- exclude = [" __pycache__/**" ]
5250
5351[tool .hatch .build .targets .wheel ]
54- include = [
55- " README.md" ,
56- " LICENSE" ,
57- " src/md2bbcode/*.py" ,
58- " src/md2bbcode/renderers/*.py" ,
59- " bb_codes.xml"
60- ]
61- exclude = [" __pycache__/**" ]
6252packages = [" src/md2bbcode" ]
63-
64- [tool .hatch .envs .default ]
65- dependencies = [
66- " mistune>=3.0.2" ,
67- " beautifulsoup4"
68- ]
53+ include = [" bb_codes.xml" ]
Original file line number Diff line number Diff line change 1717from mistune .plugins .spoiler import spoiler
1818
1919# local
20- from .renderers .bbcode import BBCodeRenderer
21- from .html2bbcode import process_html
20+ from md2bbcode .renderers .bbcode import BBCodeRenderer
21+ from md2bbcode .html2bbcode import process_html
2222
2323def convert_markdown_to_bbcode (markdown_text , domain ):
2424 # Create a Markdown parser instance using the custom BBCode renderer
You can’t perform that action at this time.
0 commit comments