Giter Site home page Giter Site logo

Comments (4)

azaslonov avatar azaslonov commented on August 16, 2024

Hi @mariaregan. thank you for feedback. I think that AdSense widget would be a good addition to to the list, we'll include it into our scope of works.

Regarding the code inside a tag: one of the key concepts in Paperbits is a separation of data (JSON) from its presentation (HTML, JS, CSS). You can think of it as Markdown, but more sophisticated (since we render not only text but also layouts, widgets, styles, etc.). However, nothing prevents you from creating a widget accepting free HTML/scripts as configuration.

Please check back to the documentation and paperbits-demo repo later this week, we're going to add "How to create a widget" guide and a widget scaffold.

from paperbits-demo.

azaslonov avatar azaslonov commented on August 16, 2024

@mariaregan, as I mentioned, the article is coming, but the scaffold has been added already. If you pull the latest changes and launch it, you will see it in "Add widget" list.

from paperbits-demo.

mariaregan avatar mariaregan commented on August 16, 2024

from paperbits-demo.

azaslonov avatar azaslonov commented on August 16, 2024

That's right, it's just a scaffold for your own widget where you can replace HTML content with your own, e.g. with the AdSense script. Also, please read about Widget Anatomy to better understand how it works.

from paperbits-demo.

Related Issues (20)

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.