Comments (5)
Compare
html_body = markdown.markdown(md.page, extensions=['extra', 'codehilite', 'toc', 'md_mermaid'], extension_configs=extension_configs)
vs
html_body = markdown.markdown(md.page, extensions=['extra', 'codehilite', 'toc'], extension_configs=extension_configs)
The first case retains russian characters, the second case removes them. So there is something wrong with the mermaid plugin.
For now a workaround/fix is making this change here:
obsidian-html/obsidianhtml/__init__.py
Line 218 in af75811
Though that will break mermaid support.
Will investigate if there is a solution. Perhaps use a different plugin/mermaid parse method.
from obsidian-html.
This is a known issue in md-mermaid oruelle/md_mermaid#2
from obsidian-html.
@slavamirniy
I found some lines that cause the issue in the dependency, will send them a pull request, but for now this is the workaround:
pip uninstall md_mermaid
pip install git+https://github.com/obsidian-html/md_mermaid
# python -m obsidianhtml -i config.yml
or
git clone [email protected]:obsidian-html/obsidian-html.git
cd obsidian-html
pip uninstall obsidianhtml
pip install dist/obsidianhtml-0.0.9.tar.gz
# obsidianhtml -i config.yml
Will upload a new package this weekend after testing well, so the normall installation will then also be available.
Let me know if this solves this issue for you.
from obsidian-html.
My knowledge of English is not so great to be able to express my gratitude to you. Yes, everything works and works great. Thanks!
from obsidian-html.
No problem! Happy it works for you now 😄
from obsidian-html.
Related Issues (20)
- Links of files ending with question marks not generated in Breadcrumbs HOT 2
- filter_on_metadata not working HOT 5
- Request for using non-tag metadata in filter_on_metadata module HOT 3
- Better way of maintaining config files HOT 5
- ESC not available on smartphones HOT 3
- Text height calculation HOT 3
- Inline code nested in code- or latex-blocks is not restored properly HOT 4
- Non-ASCII characters are not recognized as tags and become h1 HOT 1
- Have all output follow verbosity settings
- Feature Request, inline css and js
- Links with Unicode chars (including hashpart) do not work -- slugified to empty string or single #
- Development stop ObsidianHtml HOT 3
- Excalidraw Drawings not rendered HOT 1
- question: Customizing navigation panel on left-hand side of a website? HOT 1
- Different style for transcluded blocks HOT 7
- Configfiles with encoding 'UTF-8' are parsed correctly even if the path does contain invalidly-encoded chars HOT 2
- Developer Docs - apparent incongruence between existing codebase formatting and results of documented lint operations? HOT 5
- Separator line in notes with frontmatter is ignored
- Rendering Mermaid diagrams with title
- issue with `slugify_html_links` config and directory paths
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-html.