Giter Club home page Giter Club logo

eleventy-plugin-code-demo's People

Contributors

aleksandrhovhannisyan avatar rawriddims avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rocc-o ktsn

eleventy-plugin-code-demo's Issues

Cannot find module 'lodash/escape'

Hello Aleksandr,

I'm trying to install your plugin with Eleventy 2.0.0; Node v16.13.0; NPM 8.1.0; Windows 10
and I get:

[11ty] Eleventy CLI Fatal Error: (more in DEBUG output)
[11ty] 1. Error in your Eleventy config file '.eleventy.js'. You may need to run `npm install`. (via EleventyConfigError)   
[11ty] 2. Cannot find module 'lodash/escape'

So I tried npm i --save lodash.escape (successfully installed), and also npm install but still the same error.

Some html tags in the output are without quotes

This plugin is working vey well. But I do have some questions, though.

In title required for accessibility Nunjucks variables do not work (but I can do without it, not so important)

How can I place allowfullscreen into iframeAttributes? It gives me EleventyConfigError allowfullscreen is not defined (via ReferenceError) . Also, how to put loading="lazy"?

Entities (" < >) are displayed in the output (_site) instead of quotes, opening and closing tags. Maybe it does not matter as browsers read them anyway?

Why output is not properly minified in some lines (see those starting with /assets/img/audio-player)?

Inside img tag class=full height=160 loading=lazy src=/assets/img/audio-player/landscape-680.jpg width=680 have no quotes, or entities, at all. And this may be a problem as I need to serve a fallback jpeg image to browsers who need it, and size and lazy loading to all anyway. No quotes also on a href at the beginning: class=full and href=https://w.soundcloud.com/player

Immagine 2023-03-03 190647

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.