Giter VIP home page Giter VIP logo

syntax-alpha's People

Contributors

marksuman avatar

Stargazers

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

Watchers

 avatar  avatar

syntax-alpha's Issues

Custom Font: Andale Mono (Sample)

|. Owner|Microsoft|
|
. Source|"http://www.fontsquirrel.com/fonts/Andale-Mono":http://www.fontsquirrel.com/fonts/Andale-Mono |
|. Official Site|"http://www.microsoft.com/":http://www.microsoft.com/ |
|
. License|"Microsoft TrueType Fonts":http://www.fontsquirrel.com/fonts/Andale-Mono |

The above is a sample of what a font request should look like. This font is not available for redistribution due to clause 1.2 of the license: "Copies of the software product may not be distributed for profit either on a standalone basis or included as part of your own product."

The above table looks was generated from the following Textile source:

|_. Owner|Microsoft|
|_. Source|"http://www.fontsquirrel.com/fonts/Andale-Mono":http://www.fontsquirrel.com/fonts/Andale-Mono |
|_. Official Site|"http://www.microsoft.com/":http://www.microsoft.com/ |
|_. License|"Microsoft TrueType Fonts":http://www.fontsquirrel.com/fonts/Andale-Mono |

Using a String instead of a URL.

How could I pass a NSString to syntax highlight rather than a NSURL to the file?

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[[[uri absoluteString] stringByAppendingString: @"?"] stringByAppendingString: [url absoluteString]]]]];

I see you pass the URL to syntax highlight to index.html, how could I give it a String instead?

Thanks.

Faster Rendering

Tear apart the rendering engine, likely rewrite it using jQuery, and overall optimizations.

iPhone Support

Because of the simplistic UI, making this a universal application should not be at all difficult. Care will have to be taken later (as features are implemented) to transform popovers into modal slide-ups on the smaller devices.

User-defined syntaxes.

Some way needs to be added to allow for the user to add their own syntaxes. This does not violate App Store policy 3.3.2 because JavaScript is an included scripting system provided by Apple. ;)

Improve Link Support in Syntaxes

Update the syntax files for common types (HTML is a biggie) to allow for the following of resource links (in the HTML example CSS and JS includes).

Document Interaction Support

Allow Syntax to be called to open all known document types. E.g. open source code attachments from the built-in Mail application.

Theme Selection

Self-explanatory. The syntax highlighter system comes with numerous themes.

Override Active Syntax

Provide a popover to override the default syntax. Useful to have mixed HTML and PHP (which will get highlighted as HTML) shown using the PHP highlighter, or to better handle unknown extensions.

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.