link HTML and CSS files
I can easy english only, sorry.
I wrote it like this.
but, Could not link HTML and CSS files.
If there are any mistakes, Please let me know.
having trouble with ssh to lightsail
Trying to ssh to my amazon lightsail instance without success. The error I'm getting is
"ERROR: Public key authentication failed: Unable to extract public key from private key file: Wrong passphrase or invalid/unrecognized private key file formatERROR: Failed to authenticate - methods: (publickey)"
But there is no passphrase. It seems to find the private key file I downloaded from the lightsail instance because it doesn't get as far without it being in ssh/id_rsa. I've also tried naming it ssh/private.pem.
Any help is appreciated :)
Redirect URLs starting with "/" to the project folder
Modify the server (perhaps via a checkbox) so that when previewing HTML code with root references they reflect in the project folder.
For example:
<head>
<script src="/script.js"></script>
</head>
would have "/script.js" redirected to "localhost/XYZ/Root project folder/script.js" via a 302 request, and maybe an option to toggle this?
You can use the "Referer" request header to assosiate the request to a project, and then alter the URL accordingly.
In your past comments on the issue you added to 'just use <script src="script.js"></script> instead' which doesn't work when you have a nested file structure such as:
Project Root
-> script.js
-> index.html
-> Nested Folder
----> page_1.html
-> Images
----> image_1.png
And you want page_1.html to access images or scripts from the root. (i.e. an image with the path "/Images/image_1.png" is the correct way of doing this).
The current behaviour (of not redirecting) makes serious "nested folder" (as in the majority of websites) web development near-impossible on the editor, as you can't locally test.
To confirm the steps for a fix:
- Request is made for a URL
- Check to see if the file exists at the request location, if it does serve the file and continue
- If the request is not valid (would 404), check to see if the request path starts with "/"
- If it does start with "/", use the "Referer" header to find the root directory of the project
- Serve a 302 redirect to the root directory of the project + request path
Syntax highlighting
Hi,
I use textastic beside other purposes also to code VHDL. Here I recognized some irritating highlighted parts of variables and also showing syntax errors.
I want ask if this unwanted features are already known and if there will be an update to correct this misbehaviour.
"Failed to require the PTY package" while connecting to SFTP
I'm trying to connect to an SFTP server with my public key set-up, but it's not working. I keep getting:
ERROR: Failure while requesting PTY: Failed to require the PTY package
Does anyone know what PTY is? I've been looking everywhere and I don't understand this. It happens only on Textastic, not on my Ubuntu terminal (with the same exact settings).
TOC in markdown does not expand
Hello,
I am including in my markdown notes a `[TOC]` tag at the top but it doesn't seem to render in Textastic.
Is there a way to activate that feature in syntax definitions?
Thanks.
Automatic Synchronization using Textastic and GoodReader
I have been using Textastic for a while now for mobile coding and Markdown editor with preview.
Slowly, I am migrating my notes out of Evernote to full markdown notes.
It is mind boggling but if you look in the apps market there is no single application that is a good markdown notes manager.
Textastic would be great if it had synchronization; I have been able to find the upload-download mode which is kind of annoying because you have to do the task manually.
I found kind of best practice so far, unless somebody else has been able to find a sync method in Textastic. It uses GoodReader, another iPad app, and the iPad local folders.
These are steps:
1. Use GoodReader to synchronize any remote folder to your iPad. In my case I used WebDAV but I have made it work with Google Drive, Dropbox, and SFTP. GoddReadr is the app that keeps the two-way synchronization.
2. Once the connection to the server or remote is on, download the remote folder to a local iPad folder. GR will tell you that folder will be synchronized. Choose "Delete local" and "Remote file" to keep both sides fully synced.
3. Go to Textastic and add a external folder. Point to the iPad local folder that you just synced.
4. Now, you can write/preview your Markdown comfortably, including images because the images were downloaded and work as local.
5. Once your changes were made, locally or remotely, sync your folder using GoodReader.
I know, it seems like many steps, but it does what i wanted: notes synchronization, note editing, and note preview including remote images.
the only thing missing here is that Textastic doesn’t seem to have a method to insert images in Markdown files. But that is a minor pain until the app evolves a little bit further.
Have you found another way to sync Markdown notes without paying an annual fee?
f0nzie
Cursor navigation wheel unavailable since today’s update
Hi there,
Since today’s update the navigation wheel is gone. I cannot reactivate with a two-finger tap or by any other means. Please help because the possibility to move the cursor without having a physical keyboard attacked is the main reason why I picked Textastic over simply editing my files with WorkingCopy!
Customer support service by UserEcho