Coder Social home page Coder Social logo

playbook's Introduction

playbook's People

Contributors

idreesinc avatar koyuawsmbrtn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

playbook's Issues

Upload TXT into Playbook itself

This is probably very of scope, but I've been having trouble side loading txt files into the Playdate over USB, in that the Playbook app doesn't recognize them. Would it be possible to have something similar to Share to Kindle or the official Playdate side loading portal where TXT files could be uploaded, then built into a PDX file that a user could then sideload? If you wanted to be super ambitious, you could have it do some server side conversation for other files or pull RSS feeds or something wild, but I wanted to know if that was anywhere near your wheelhouse.

text format supports variants, but render only kinda does

I was wondering why weird font changes were happening, didn't find anything in code and researched a bit.
turns out Playbook supports bold and italic via the standard library

playdate.graphics.drawText("normal *bold* _italic_", x, y)

It seems like a flavor of Textile instead of the more popular markdown.

  • *bold* renders as bold text
  • _italic_ renders as italic text

PlayBook 2024-03-20 08 17 39

for that to work, the bold and italic variants have to be set alongside the regular font. (see Inside Playdate)

(On the other hand if this behavior is unwanted, playdate.graphics.font:drawText() instead of playdate.graphics.drawText(). I think it makes this app more usable and loosens up the text.)

BTW: above markup information should be handy for creating a guide for formatting books.

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.