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

tabs inside pre #225

Open
ggglyke opened this issue Sep 11, 2017 · 1 comment
Open

tabs inside pre #225

ggglyke opened this issue Sep 11, 2017 · 1 comment

Comments

@ggglyke
Copy link

ggglyke commented Sep 11, 2017

Hi,

I have some troubles with tab indent mith multiline code snippets.
I initially used css property white-space: normal; to remove blanks but this remove all tabs and line breaks.
In my html file, I need to indent my code to make it clean.
But with this css property removed all tabs are rendered inside the pre tag

image

image

how to resolve this ?

thanks

@gingerchew
Copy link

I think the tab-space CSS rule should help with that link

pre > [data-language] {
	tab-space: 2; /* Default tab-space value is 8 */
}

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

2 participants