Configuration for changing the tabsize in superfences #1188
Answered
by
facelessuser
GeneralZero
asked this question in
Q&A
-
I am currently using Mkdocs with pymdownx.superfences. My code gets outputted with 8 spaces as the tabs. Is there a configuration step that is possible to change it to only 4 spaces. Example Markdown: def __select_version(self, version):
#Blake 2s
if version <= 256:
self.buffers = [0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A,
0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19,]
self.rotations = [16,12,8,7]
self.blocksize = 32
self.rounds = 10
self.output_size = version // self.blocksize
#Blake2b
else:
self.buffers = [0x6a09e667f3bcc908, 0xbb67ae8584caa73b, 0x3c6ef372fe94f82b, 0xa54ff53a5f1d36f1,
0x510e527fade682d1, 0x9b05688c2b3e6c1f, 0x1f83d9abfb41bd6b, 0x5be0cd19137e2179,]
self.rotations = [32,24,16,63]
self.blocksize = 64
self.rounds = 12
self.output_size = version // self.blocksize
#raise ValueError("Invalid Blake2 Version {}".format(self.version)) |
Beta Was this translation helpful? Give feedback.
Answered by
facelessuser
Dec 28, 2020
Replies: 2 comments 1 reply
-
Yeah, you can just use CSS |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
GeneralZero
-
Converting to a discussion as this is not a bug or feature request. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, you can just use CSS
tab-size
.