Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview Fidelity and HTML Output Fidelity Do Not Match #214

Open
smeddows opened this issue Jan 6, 2021 · 2 comments
Open

Preview Fidelity and HTML Output Fidelity Do Not Match #214

smeddows opened this issue Jan 6, 2021 · 2 comments

Comments

@smeddows
Copy link

smeddows commented Jan 6, 2021

Installed product versions

  • Visual Studio: 2019 Professional
  • This extension: Latest Version

Description

When I generate an html file and open it in Edge, I do not see it like I do in the preview. Is there a was to get the views the same? Am I missing a css file? I didn't see one in the generated html.

Steps to recreate

  1. Create md file that contains tables and/or a code block (like xml)
  2. Generate html file from md
  3. Open html file in Edge, IExplorer, Chrome

Current behavior

The html output does not match what is being generated in the preview window

Expected behavior

Fidelity between the HTML that is generated for preview inside of VS and what is generated in the html file.

@smeddows
Copy link
Author

smeddows commented Jan 6, 2021

Sorry, I found the answer in the Closed issues after I posted this.

Thanks

@smeddows smeddows closed this as completed Jan 6, 2021
@smeddows smeddows reopened this Jan 6, 2021
@smeddows
Copy link
Author

smeddows commented Jan 6, 2021

Can you provide a little more guidance on how to incorporate the stylesheet into the html generation? I mean, I know I can generate an html file where there is a link to a stylesheet, but I don't really see anything in the generated html that would allow me to have the same syntax highlighting in, let's say, output xml or C#?

Do I just need to include all the css and js files from https://github.com/madskristensen/MarkdownEditor/tree/master/src/Margin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant