Comments (13)
If you press F12 and click on console
, does it show errors?
from obsidian-html.
This is the last output of the script:
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Lyrik/Zitate - Brand eins.md'
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Lyrik/Zitate - Controlling.md'
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Lyrik/Zitate - Quellen.md'
> COMPILING INDEX FROM DIR STRUCTURE (C:\Users\uwewe\AppData\Roaming\Python\Python311\Scripts\output\html\obs.html\dir_index.html)
< COMPILING INDEX FROM DIR STRUCTURE: Done
> SECOND PASS HTML
< SECOND PASS HTML: Done
< COMPILING HTML FROM MARKDOWN CODE: Done
EXPORTING USER FILES
Is this config.yml correct?
from obsidian-html.
Does custom.css
exist in the root of your vault?, ie at H:/Syncthing/Obsidian/custom.css
?
If you press F12 and click on console, does it show errors?
Can you answer this please.
from obsidian-html.
Has it to be exactly this name custom.css? Because now it works.
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Maltechniken/Zeichnen.md'
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Maltechniken/Zeichnen - \xdcbung zum Schraffieren.md'
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Lyrik/Zitate - Brand eins.md'
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Lyrik/Zitate - Controlling.md'
b'C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/md/Privat/Kunst Lyrik/Zitate - Quellen.md'
> COMPILING INDEX FROM DIR STRUCTURE (C:\Users\uwewe\AppData\Roaming\Python\Python311\Scripts\output\html\obs.html\dir_index.html)
< COMPILING INDEX FROM DIR STRUCTURE: Done
> SECOND PASS HTML
< SECOND PASS HTML: Done
< COMPILING HTML FROM MARKDOWN CODE: Done
EXPORTING USER FILES
Writing C:/Users/uwewe/AppData/Local/obsidianhtml/obsidianhtml/tmpdir/input/custom.css to C:/Users/uwewe/AppData/Roaming/Python/Python311/Scripts/output/html/custom.css (utf-8)
< EXPORTING USER FILES: Done
You can find your output at:
md: C:\Users\uwewe\AppData\Roaming\Python\Python311\Scripts\output\md
html: C:\Users\uwewe\AppData\Roaming\Python\Python311\Scripts\output\html
uwewe@Uwe-PC-SSD MINGW64 ~/AppData/Roaming/Python/Python311/Scripts
from obsidian-html.
But the graph is not showing.
from obsidian-html.
F12 console gives this:
from obsidian-html.
Does this happen on every page? I tested with your index page from unterricht, do you have this issue there?
Has it to be exactly this name custom.css? Because now it works.
When I showed you the code for the custom.css, I did state that you had to create that file in the root of your vault unless you changed the paths in the config.yml, which you did not do, so yes, if you configure a file export, the file needs to exist at that specific location.
from obsidian-html.
Yes, I cannot see the graph, independend of the chosen file. Examples I currently tested:
http://localhost:8888/BBZ/Unterricht%20CTA%20SuS/Arbeiten%20-%20CTA.html
http://localhost:8888/BBZ/Unterricht%20CTA%20SuS/Chemie%20-%20Formeln%20mathjax%20Unicode.html
http://localhost:8888/BBZ/Unterricht%20CTA%20SuS/Chemie%20-%20Smiles%20Formeln.html
(I find no file, where the graph shows.)
...
from obsidian-html.
What command did you use to start the webserver?
I remember that error, but I don't get it anymore with python -m http.server
obsidianhtml serve
has this code added though:
Handler.extensions_map.update(
{
".js": "application/javascript",
}
)
which ought to fix this issue, you might try obsidianhtml serve --directory <directory path> --port 8080
(Be sure to go to http://localhost:8080
instead of http://localhost:8888
)
from obsidian-html.
Might try this fix on Windows also:
(Make sure that key Content Type
exists in that location as shown in the registry editor.)
Not sure if this is the issue though, Windows tires me.
Though as said in that thread, just restarting the server with port 8080
(or any other) might also work? 🤔
from obsidian-html.
Njet.
I see this:
Shall I change Content Type to "text/javascript"? I do it ... restart the webserver with
python -m http.server --directory output/html 8080
и большая улыбка пробегает по моему лицу
;-)
Thank you again!
from obsidian-html.
(Your solution works with both ports, 8080 and 8888)
from obsidian-html.
nice!
from obsidian-html.
Related Issues (20)
- Any way to see the files creation and modified date? HOT 2
- Formating of codes (here: linux output) HOT 2
- Buttons plugin; call program HOT 1
- [Enhancement] For tables containing images, click to preview image in full size HOT 1
- [Enhancement] For tables containing images, the images should be centered in the cells HOT 1
- 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
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.