From db94add5a05770f3c76d637dcc6a9d7a224acf2e Mon Sep 17 00:00:00 2001 From: Cuihtlauac ALVARADO Date: Mon, 14 Nov 2022 14:35:43 +0100 Subject: [PATCH] Remove backticks around inline code fragments By default taiwind css surounds inline code with backticks. In order to have a more GitHub-like experience, as suggested by @MisterDA in https://github.com/ocaml/ocaml.org/issues/612 the tailwind configuration needs to be changed as explained here: https://github.com/tailwindlabs/tailwindcss-typography/issues/18 --- tailwind.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tailwind.config.js b/tailwind.config.js index db095b93fd..a5e3658d90 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,6 +5,18 @@ module.exports = { darkMode: 'class', theme: { extend: { + typography: { + DEFAULT: { + css: { + 'code::before': { + content: '""', + }, + 'code::after': { + content: '""', + }, + } + } + }, maxWidth: { '8xl': '90rem', },