This snippet does not affect tables. If 'your font'
is not the same as theme’s font, it might cause inconsistence of different fonts:
A simple snippet to set it consistently:
:root {
--font-monospace: 'Source Han Sans HW SC', 'Source Code Pro', monospace;
}
.markdown-source-view {
font-family: var(--font-monospace);
}