Comments (8)
But @gocom states .txp as one of the possible file extensions. There may be a good reason for using .html (syntax highlighting), however I use the Coda Textpattern mode which recognises .txp extensions and provides better highlighting for that. I'll let Jukka make the final decision on this.
from textpattern-default-theme.
Personally, it makes no difference to me either way - I'm also a Coda jockey, but without the Textpattern plugin. The basis for this is that I'm making a new theme and I've looked at the source for textpattern-default-theme
, which refers (quite rightly) to *.txp files. I recalled @gocom's comments about *.html from the linked thread, and was curious about the disparity. Please don't take this issue as me rabble rousing or being That Guy, Phil - I'm just attempting to unify some stuff and -- perhaps unrealistically -- kickstart a somewhat stagnant 3rd party front-end theme development effort.
from textpattern-default-theme.
All comments and discussions are good even if they don't eventually become commits, so don't be shy in raising issues. I don't know if *.html
is better than *.txp
- I can see arguments for both cases (more people will be using IDEs that recognise *.html
rather than amount of users with Coda and Textpattern Mode, for example).
from textpattern-default-theme.
In the same vein, forms aren't necessarily HTML; some are, some aren't - put a Textpattern tag in and it's no longer HTML, right? Thinking out loud (and rhetorically, too), that can be ignored.
from textpattern-default-theme.
Off topic - the Textpattern bits for Coda can be found here: https://github.com/philwareham/Textpattern-for-Panic-Coda
The mode works fairly OK - I fudged it together from someone else's initial work without really knowing much about how it functions. Code auto-completion doesn't work though for Textpattern tags.
from textpattern-default-theme.
Yeah, as soon as Textpattern tags are used it's not strictly HTML - and Textpattern forms could just be a Textpattern tag and nothing else, in theory (although that's a bit wasteful).
from textpattern-default-theme.
The txp
extension is fine. Most editors allow mapping file extensions anyways (unless your editor is absolute garbage), and using distinct one allows the editor to give specific syntax support and autocompletion for Textpattern templates.
In the same vein, forms aren't necessarily HTML; some are, some aren't - put a Textpattern tag in and it's no longer HTML, right? Thinking out loud (and rhetorically, too), that can be ignored.
Template files are just data. The extension tells the system consuming the data what it should use it as, an not necessarily what it actually contains, or what the included templating or programming language generates.
from textpattern-default-theme.
Works fine for Sublime Textedit 2. I found the .txp extensions self explanatory, for the syntax rendering I set the files to HTML, works!
from textpattern-default-theme.
Related Issues (20)
- Improve the "alt" content for images HOT 1
- Error with secondpass < 1 HOT 2
- Demo files - this repo or another one? HOT 2
- Add `audio` instance? HOT 1
- json="escape" missing into tag
- Consider including CSS for Dark Mode HOT 3
- iOS Shrink to fit HOT 2
- Remove reliance on Google Fonts HOT 2
- Google Fonts in `popup_comments` and mockups HOT 1
- Canonical links HOT 12
- Convert navigation from float to flex
- Google Lighthouse reporting
- Consider a `4.9.x` branch HOT 3
- Offer the 'Zero' theme for download HOT 1
- Tag error into the latest default theme HOT 3
- favicon HOT 2
- Logical positioning to the 'older' page link HOT 1
- "Second pass < 1" error HOT 8
- Dark Mode support
- Fix stylelint in build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textpattern-default-theme.