What I’m trying to do
I try to save a html to local,but the code cant save.
like this:
I try to save a html to local,but the code cant save.
like this:
What’s your goal of doing that?
If you want to execute javascript within Obsidian there are plenty of plugins providing support for that, and if you want to do it when publishing there a ways of doing that too using publish.js
.
Or if you just want to display code you can use code blocks surrounding your code.
```java
System.out.println("Hello world")
```
i want to save the html that i’m reading and save to loacl to write. but the code in the html cant be saved. i mean after i saved the html to md, the place that should have been the code is empty
this is source page
this is saved,it is empty
or maybe it is err in the souce page , i dont konw
It kind of possibly sound like that there is something strange in the source page, but I don’t really understand what’s happening.