Actions
Feature #20691
closedAdd ballot boxes (☐,☑,☒) to Lists in Wiki Textile/Mardown (Redcarpet)
Status:
Closed
Priority:
Low
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Description
Add please ballot boxes
☐ U+2610 ballot box ☑ U+2611 ballot box with check ☒ U+2612 ballot box with cross
to Lists in both Textile and Markdown (RedCarpet) formatting engines.
It is a good convention from Zim. http://zim-wiki.org/manual/Help/Wiki_Syntax.html#Lists
Related issues
Updated by Hans Ginzel over 9 years ago
Updated by Toshi MARUYAMA about 9 years ago
- Related to Feature #20698: Add support for task list items in Textile formatting added
Updated by Stéphane Lavergne almost 7 years ago
FYI this can be accomplished somewhat cleanly by creating macros in a plugin. This is the quick hack which I used, saved as plugins/redmine_wiki_checkboxes/init.rb
:
require 'redmine'
Redmine::Plugin.register :redmine_wiki_checkboxes do
name 'Redmine Wiki Checkboxes plugin'
author 'Stephane Lavergne'
description 'Adds x, z and o formatting macros'
version '0.0.2'
url 'https://github.com/vphantom'
author_url 'https://github.com/vphantom'
requires_redmine :version_or_higher => '3.4.0'
end
Redmine::WikiFormatting::Macros.register do
desc "Unchecked checkbox"
macro :o do |obj, args|
'<b style="font-size:133%;">☐</b>'.html_safe
end
end
Redmine::WikiFormatting::Macros.register do
desc "Checked checkbox"
macro :x do |obj, args|
'<b style="font-size:133%;color:#009900;">☑</b>'.html_safe
end
end
Redmine::WikiFormatting::Macros.register do
desc "Crossed checkbox"
macro :z do |obj, args|
'<b style="font-size:133%;color:#bb0000;">☒</b>'.html_safe
end
end
They cannot be used as list bullets per se, but it still opens decent possibilities.
Updated by Marius BĂLTEANU almost 3 years ago
- Related to deleted (Feature #20698: Add support for task list items in Textile formatting)
Updated by Marius BĂLTEANU almost 3 years ago
- Is duplicate of Feature #20698: Add support for task list items in Textile formatting added
Updated by Marius BĂLTEANU almost 3 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Updated by Marius BĂLTEANU almost 3 years ago
Also, having a crossed checkbox is not usual so I think we should not support this feature.
Actions