amcgregor / syntax-alpha Goto Github PK
View Code? Open in Web Editor NEWSyntax highlighting source code viewer for iOS devices.
License: MIT License
Syntax highlighting source code viewer for iOS devices.
License: MIT License
|. 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 |
Allow for organized hierarchical source code by allowing the upload and viewing of ZIP files.
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.
Self-explanatory.
Tear apart the rendering engine, likely rewrite it using jQuery, and overall optimizations.
Anonymous (http://www.fontsquirrel.com/fonts/Anonymous) is copyrighted freeware, with explicit written permission required for redistribution in commercial software.
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.
BPmono (http://www.fontsquirrel.com/fonts/BPmono) is a Creative Commons-licensed font, and is thus embeddable with notice.
ProFontWindows (http://www.fontsquirrel.com/fonts/ProFontWindows) has explicit grants for embedding in commercial software, with notice.
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. ;)
Try it.
Include a back button and more intelligently handle the selection of links in the @uiwebview@.
Allow users to load source code into the application via iTunes.
Self explanatory. Themes are simple CSS files.
DejaVu Sans Mono (http://www.fontsquirrel.com/fonts/DejaVu-Sans-Mono) is permissively licensed, with notice.
CPMono_v07 (http://www.fontsquirrel.com/fonts/CPMono_v07) is a Creative Commons-licensed font, and is thus embeddable with notice.
Bitstream Vera Sans Mono (http://www.fontsquirrel.com/fonts/Bitstream-Vera-Sans-Mono) is a freely embeddable font.
Self-explanatory.
NotCourierSans (http://www.fontsquirrel.com/fonts/NotCourierSans) is licensed under the GPL, with exceptions.
Self-explanatory.
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).
Allow Syntax to be called to open all known document types. E.g. open source code attachments from the built-in Mail application.
Self-explanatory. The syntax highlighter system comes with numerous themes.
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.
Anonymous Pro (http://www.fontsquirrel.com/fonts/Anonymous-Pro) is licensed under the OFL and is thus freely embeddable in Syntax.
Self-explanatory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.