Giter Site home page Giter Site logo

Option for compact headers about tablemark HOT 3 CLOSED

haltcase avatar haltcase commented on July 28, 2024
Option for compact headers

from tablemark.

Comments (3)

haltcase avatar haltcase commented on July 28, 2024 1

Released in v3.1.0. See docs in readme: https://github.com/haltcase/tablemark#optionspadheaderseparator

from tablemark.

haltcase avatar haltcase commented on July 28, 2024

Hey @davestewart, thanks for pointing this out. I haven't used WebStorm myself for a handful of years at this point. Could you provide more info about how it complains? I'd like to understand what sort of issue it presents before we make changes, e.g., is it an error message, lint warning, etc.

If we do make changes, I don't super love the idea of a post-generation text replacement and would rather we implement it during in the "rendering" phase itself somehow, but we'll get to that later (and I'd be happy to accept a PR once we've hit a good solution).

from tablemark.

davestewart avatar davestewart commented on July 28, 2024

Hey Bo,

Thanks for the prompt reply!

Sure, this is what it doesn't like, and what it reformats to:

image

I hit Opt+Enter then choose to reformat, and it removes the spaces in the separator line (all other lines remain unaffected):

image

I totally understand you wanting to do it "the correct way". Right now the regex works in my code (I process the whole table) but you have to safely support all use cases!

from tablemark.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.