Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Offline
Re: Eventual forum upgrade plan
Will do. I’ll let you know when it’s done.
Offline
Re: Eventual forum upgrade plan
I think that query ran as intended. search_words
table word
field now shows as encoding UTF-8 Unicode
and collation as utf8_bin
.
Offline
Offline
Re: Eventual forum upgrade plan
The new forum now supports syntax highlighting. Since all code blocks here aren’t code, highlighting is opt-in. To enable highlighting, start the code block with the name of the language:
bc. html
<strong>Hello world!</strong>
If the first line matches a valid language name, the code block is highlighted accordingly. Highlighting is done by Prettify, and syntax coloring looks similar to GitHub.
Supported language identifiers include: apollo, bash, c, coffee, cs, clj, css, dart, go, hs, html, java, js, json, lisp, lua, ml, n, perl, php, proto, python, ruby, rust, scala, sh, sql, tex, vb, vhdl, wiki, xml, xsl, xq and yaml.
Last edited by Gocom (2013-10-09 19:09:54)
Offline
Re: Eventual forum upgrade plan
Gocom wrote:
Supported language identifiers include: apollo, bash, c, coffee, cs, clj, css, dart, go, hs, html, java, js, json, lisp, lua, ml, n, perl, php, proto, python, ruby, rust, scala, sh, sql, tex, vb, vhdl, wiki, xml, xsl, xq and yaml.
but… but… it lacks TXP language highlighting!
Offline
Offline
Re: Eventual forum upgrade plan
I’ve added txp to the list of accepted language identifiers. Incase we ever add its own language definition for it; currently its just an alias for HTML.
Offline
#57 2013-10-10 16:45:55
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Eventual forum upgrade plan
Gocom wrote:
The new forum now supports syntax highlighting.
That’s cool!
syntax coloring looks similar to GitHub.
I’ve had a look at the history of main.js, peeped here and there and was overwhelmed by all the additions you put in there and by the considerations and amendments you’re making. You mentioned only a fraction here. I think Santa will be good to you guys! :)
The forum doesn’t allow me, so you’ll have to imagine the following in #ddd: [phi #2 in main.js ought to be “psi”.]
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Offline
Re: Eventual forum upgrade plan
In the new forums content can be embedded from various services by simply linking to it. It uses the familiar Textile link syntax; a link to a supported service becomes an embedded object if it is in its own paragraph. Links within blobs of text will stay as normal text links to avoid disturbing reading and text flow, and so that you don’t have unrelated embedded item blob attached to end of the post (those aren’t very nice).
Supported services at the moment include Gist, YouTube, Vimeo and Twitter, each when linked, spawning their familiar embed widgets.
Gists:
"$":https://gist.github.com/gocom/5431041
Tweet:
"$":https://twitter.com/textpattern/status/386111138699935744
YouTube:
"$":http://www.youtube.com/watch?v=BKQ6nINAeq8
Vimeo:
"$":http://vimeo.com/42531948
To users who don’t have JavaScript enabled, these will display as normal text links.
Last edited by Gocom (2013-10-15 17:30:49)
Offline
#60 2013-10-10 20:02:26
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Eventual forum upgrade plan
Yay, I’ll be a dragon \o/
Justice at last.
But seriously, great work!
Last edited by els (2013-10-10 20:10:24)
Offline