question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Classes in markdown file are overwritten

See original GitHub issue

I have last version of nuxt, nuxt/content and node.js

What is expected??

By default I have h1,h2,h3… with taliwind text-center and I put some table in the markdown tables as this:

<div class=" text-center">
  <p class="text-red-500 text-4xl">Arduino Mega</p>
  <ul>
    <li class="py-10 text-yellow-500 text-3xl">5€</li>
    <li class="pt-4">16KHz</li>
    <li class="py-4">8K Memoria</li>
    <li class="py-4">256K Flash</li>
    <li class="py-4">4K EEPROM</li>
    <li class="py-4">3x16bit Timer</li>
    <li class="py-4">13KHz Step Rate</li> 
  </ul>
</div>

And after generate the site to static I will see what I see in development

What append?

After generate all pages of nuxt content don’t have the style I wanted. Olso table are not as expected.

tailwind.config.js:

const colors = require('tailwindcss/colors')


module.exports = {
  purge: {
    content: [
      './content/**/*.md'
    ],
    options: {
      safelist: ['m_ard', 'top_ard', 'title_ard', 'b_nav_ard', 'card_ard','code_area_ard', 'comment_ard']
    },
  },
    prefix: '',
    important: false,
    separator: ':',
    theme: {
        colors: {
            gray: colors.trueGray,
            red: colors.red,
            yellow: colors.yellow,
            green: colors.green,
            blue: colors.sky,
            orange :colors.orange
          },

    },
    variants: 
    {},
    plugins: [
    ],
  }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
NozomuIkutacommented, Oct 28, 2021

@StefanoTesla

It’s appreciated if you follow the forms in the Issue Template, and provide the specific versions of packages and reproduction link. Otherwise, people can’t be on the same page with you and can’t tell something on the correct assumption.

0reactions
NozomuIkutacommented, Nov 2, 2021

@StefanoTesla

Do you mean the issue is not fixed in your project?

Then, there might be some conditions specific to your project.

Without any more information or reproduction, I can’t say anything that may helpful to you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mkdocs and markdown: base.css overwrites custom css
thank you waylan, i'll try to find out. I am using mkdocs with a entry in extra_css inside mkdocs.yml. In my css file,...
Read more >
Markdown files from external editors lose formatting on save
Markdown files that are created in external markdown and text apps will have their formatting completely overridden and/or lost when edited ...
Read more >
Overriding vendor classes - Downing Tech
Ever found yourself wanting to make a small tweak to a PHP file in a Composer dependency? Here's how to do it without...
Read more >
R Markdown Lesser-Known Tips & Tricks #2: Cleaning Up ...
The R Markdown file format combines R programming and the markdown language to create dynamic, reproducible documents.
Read more >
7.1 Apply custom CSS | R Markdown Cookbook - Bookdown
7.1 Apply custom CSS. We strongly recommend that you learn some CSS and JavaScript if you wish to customize the appearance of HTML...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found