Posted by: ronbo | Date: 2019-03-07 08:01 | IP: IP Logged
When starting an HTML document the default html code is using the doctype for html 4. Where do I edit this to change the doctype to html 5?
Posted by: pspad | Date: 2019-03-07 09:17 | IP: IP Logged
It's template file Default.html in the subfolder Template
If you have PSpad installed in program files, you will need to run it as administrator to have rights to write there.
Easier way how to edit template:
Ctrl+N (new file)
Second tab - templates
Choose Default under HTML and button Modify
Posted by: ronbo | Date: 2019-03-07 16:18 | IP: IP Logged
Thanks, that worked!
Posted by: poopiepoop | Date: 2021-01-21 19:57 | IP: IP Logged
sorry for the ressurrect, but how would i go about create a new such template?
i have tried creating a new file in the /Templates but i don't know how to register it
Posted by: pspad | Date: 2021-01-21 20:02 | IP: IP Logged
There is no necessary to register it. If you want to be used as default, modify file default.html
Or you can use file/new (ctrl+n) and choose your template
Edited 1 time(s). Last edit at 2021-01-21 20:03 by pspad.
Posted by: poopiepoop | Date: 2021-01-21 20:15 | IP: IP Logged
no, i mean i wanted to create a totally new template with a new extension. i was hoping i could create new template for ".blade.php" file that would show up in the templates when i click on a new file
Posted by: pspad | Date: 2021-01-21 20:22 | IP: IP Logged
Windows world doesn't supports multiple file extensions.
If you create blade.php file, it will apear in templates for php automatically. There is no necessary to register anything
Posted by: poopiepoop | Date: 2021-01-21 20:57 | IP: IP Logged
ok, i have tried to create a "Default.bladephp" file in the templates, but i still don't see it show up in the "new file" :/
Posted by: pspad | Date: 2021-01-21 21:43 | IP: IP Logged
Because extension .bladephp isn't registered to any highlighter.
If you want new extension for e.g. PHP, go to menu settings / highlighter settings / php and add your extension