Code Monkey home page Code Monkey logo

Comments (3)

TheDuckCow avatar TheDuckCow commented on July 24, 2024 1

Started to do some initial development on this item, parsing out key features of markdown code and stripping the formatting and parsing out the features.

Note this useful reference:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet

Remaining goals:

  • Replaces image markdown code with the [alt-text] followed by the 'IMAGE_COL' icon label, which acts as an emboss=False url_open operator to the original image location (may be hard to determine if non-absolute links are used)
  • Remove styling options like for bold and italics, since they can't show up in blender
  • Implement more intelligent auto-line wrapping; right now you have to hard set the width to e.g. 100 chars or something like that, it may be possible to interpret based from the draw self module
  • Implement in-line link creation, where the [link text](link.destination.com) is replaced by link text # where # would be the CONSTRAINTS icon in a label, and the whole thing would be a non-embossed url_opener operator to the original link.
  • If feeling super advanced, could hack in bold/italics/underlines by using "..." label characters with very short .scale_y heights so they appear just under the main text. This could also work for placing a line underneath url's.
  • Implement drawing option to display either as a self contained object (typically drawn into a box UI element but not necessarily), or to implement natively inside a scrolling UI list (which is a bit of a strange adaptation but would work).

And note the WIP progress so far, which essentially just parses out headers (all treated the same and only if using # method) and bullet points (up to two-deep). I've started to design the structure to interpret and extract (remove, due to lack of text styling in blender) features like bold, italics and images.
screen shot 2017-08-24 at 7 33 51 pm

from blender-addon-updater.

johnroper100 avatar johnroper100 commented on July 24, 2024

Could the user have the option to view older release logs?

from blender-addon-updater.

TheDuckCow avatar TheDuckCow commented on July 24, 2024

Yeah, assuming they are available it would be fairly straightforward to grab once this UI piece is implemented.

from blender-addon-updater.

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.