User login

Input format

So if you think there's a crazy bug in permission to access text formats...

...it's probably because there is already content in the text area that is set to something to which the user no longer has access.

It seems really freaky when you have access to one text format, and it says:

"This field has been disabled because you do not have sufficient permissions to edit."

So you add another text format, and now you have access to the field... and the format it must have been saying you didn't have permissions for before, what???

Setting text format per field in Drupal 8

UPDATE: There is a contributed Drupal 8 module to set allowed formats that was spun off of the core issue to allow text field to enforce a specific text format.

Right now, there's no good way to do it, but there's good hope that this issue will be fixed in Drupal 8 core. OK but right now? Better Formats isn't stable for Drupal 8 yet. So hacky custom form alters is the best i've come up with.

Terminal-style syntax highlighting

For documenting on Drupal web sites steps taken on the command line, Agaric would like syntax highlighting of the sort GitHub is using. Note that it is adding a class to the pre tag, and then using spans within that!

Perhaps could be added as a feature to the Code filter module.

Safe Text: Filtered HTML Plus

The safetext module began as an idea for an installation aid, but

Any anonymous or just-registered authenticated user should be able to access the filtered HTML format, if you so choose. Trusted (but non-editor and non-admin) user roles should be able to access filtered HTML plus, meaning with images, at the least.

Agaric wants an emacs orgmode-style input format for Drupal

There is apparently no such thing yet and this may be silly, but the idea is to have an input filter that would make a copy-paste of an emacs org-mode document look good-- perhaps even with collapsible sub-sections using JQuery.

Or, there's the obvious approach: let emacs export to HTML. http://www.randomsample.de/dru5/node/76

Drupal.org's PHP input format

how does Drupal.org do its PHP input filter?

the one that if you put PHP tags around it it will make nicely formatted and colored code

(may have posted this question on agaric)

Thanks Lullabot!

http://www.lullabot.com/articles/drupal_input_formats_and_filters

Code Filter Renders syntax-highlighted PHP code. This module is used on Drupal.org.

Syndicate content