exported presentation has localhost links
See original GitHub issuei cannot find a setting that turns this into the correct relative path - thinking that should just work since all the 3rd party resources are included in the export folder.
e.g. export/index.html
<link rel="stylesheet" href="http://localhost:43639/libs/highlight.js/11.3.1/styles/monokai.min.css">
this makes it hard to use with github-pages or similar (although it sometimes works accidentally when you have the reveal server running locally)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Issue In Links after migrating from Live server to Localhost ...
I used ALL IN ONE WP MIGRATION to export the data from live server. I replaced the url during export process. http://www.example.com/ to...
Read more >How to Move a WordPress Site from Localhost to a Live Server
Export the database from localhost. An essential part of your WordPress installation is the database. This is where all of your website data...
Read more >Why does MaterialUI Drawer component link add localhost ...
I am trying to add my LinkedIn profile to the drawer component and when I click I get the following in the search...
Read more >How to Transfer a Joomla site from localhost to your Live Server
Follow along as I show your how to transfer your Joomla site from your localhost to your live web hosting account.Join the discussion...
Read more >How To Move WordPress From Localhost To Live Server
Step #1: Export The Local Database. First off, we will download the database of our local WordPress installation. This is usually done via ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Release in 4.1.2
I run into the same issue. But there is also something more about
data-background-image
.Here are the issues, if I try to explain (I am not very skilled about server …)
https://localhost:57795
index.html
file in the browser. Two different things happen.First issue
If I shut down vscode or the presentation (the server,
https://localhost:57795
), on the browser, the presentation does not display correctly. But, as said in the previous comments, if you replace thehttps://localhost:57795
by""
or the baseurl of you web page. It works again.Second issue
The second issue is about
data-background-image
. Let’s say you have the following markdown code:When you export the presentation as html, the produced html code is the following :
Whatever the state of the server in vscode, if you open the presentation from
index.html
in a browser, the background image is not displayed. Contrary to the previous solution, you have to add thehttps://localhost:57795
url to make it works (assuming this server/address is still running in vscode). Actually it works (in all case) if you put, as background, a picture from an url but it does not work if you use a local file. That is why it works if you add thehttps://localhost:57795
address.