Giter Club home page Giter Club logo

html-utils-package's People

Contributors

woodenbell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

html-utils-package's Issues

Alternative triggers discussion

Hi,

Nice small package - these are my 2 cents on it :)

Using espanso globally, i encounter some unwanted text expansions triggered, which are usually triggered by ":a". As espanso intercepts this sequence even in a middle of a word, it happens when using a gmail filter which i write "label:a-faire" (TODO label). This also happens when using search functions in text editors, especially when editing CSS, or language translations.

I'm not sure this happens a lot for other users, however these are the tweaks i am experimenting to avoid this issue :

  • use " :" instead of ":" (with a leading space) : i like the way it doesn't really change the trigger, while mitigating the false replacement issue for several use cases.
  • use "::" instead of ":" : this is a more "explicit" method, but still very quick with doubling. I'm still wondering if it would match more or less false positive than the other option...

When using leading space, it may be useful to also add a leading space in the replacement text so the space actually remains after replacement.

Package users can update their settings file pretty easily using search/replace, or providing an alternative package with other triggers might be a nice option too.

Sincerely

<img>

Trigger Result
::img <img src="" alt="">

Tag requests

It said on the page to suggest any tags we could need, the following came up for me:
::p for <p></p>
::ul for

<ul>
  <li></li>
</ul>

::li for <li></li>
::a2 for <a href="{{clipboard}}" target="_blank" rel="noopener noreferrer">$|$</a> (mainly for the target and the rel).
Thanks for the great tool!

enclsing backet do not appear

Hi,

Most of the tags injected are, but without "<" and ">" :/
Very few are expanded correctly ...

Can u fix that?
Rgds,

Add <p></p> tag

The paragraph tag is often used when coding HTML files.
We should provide it with the package

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.