Skip to content

Code showing correctly in preview, but not actual page? #23726

Discussion options

You must be logged in to vote

Oop, I missed this part during my testing, sorry! 🙈

Looks like there is a way to fix it for both at the same time. You’ll first need to convert this img tag to a markdown image tag, and add back in the initial /:

![](/images/demo/meeting.jpg)

Then you’ll need to make sure you set your baseurl to the name of your repository inside your _config.yml file:

baseurl: /Replica-Economics

Once you do both of these your image should show up correctly on both GitHub and on your website!

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants