textile_manual 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bowerrc +3 -0
- data/.gitignore +24 -0
- data/Gemfile +27 -0
- data/README.md +13 -0
- data/Rakefile +14 -0
- data/bower.json +9 -0
- data/config.rb +102 -0
- data/config.ru +13 -0
- data/data/textile.yml +665 -0
- data/features/path_mounting.feature +28 -0
- data/features/support/click_steps.rb +20 -0
- data/features/support/env.rb +4 -0
- data/features/support/server_steps.rb +34 -0
- data/fixtures/manual_at_path/config.rb +10 -0
- data/fixtures/manual_at_root/config.rb +10 -0
- data/lib/textile_manual.rb +6 -0
- data/lib/textile_manual/extension.rb +89 -0
- data/source/images/.gitkeep +0 -0
- data/source/images/.keep +0 -0
- data/source/javascripts/all.js +5 -0
- data/source/javascripts/app.js +0 -0
- data/source/javascripts/modernizr.js +1 -0
- data/source/layouts/layout.html.slim +23 -0
- data/source/partials/_textile_toc.html.slim +12 -0
- data/source/stylesheets/_highlighting.scss +209 -0
- data/source/stylesheets/_settings.scss +621 -0
- data/source/stylesheets/style.css.scss +27 -0
- data/source/textile_manual/chapter.slim +23 -0
- data/source/textile_manual/index.html.textile.erb +11 -0
- data/textile_manual.gemspec +25 -0
- metadata +120 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
@import 'foundation';
|
2
|
+
@include foundation-everything;
|
3
|
+
@import 'settings';
|
4
|
+
@import 'highlighting';
|
5
|
+
|
6
|
+
pre code {
|
7
|
+
display: block;
|
8
|
+
}
|
9
|
+
|
10
|
+
.type {
|
11
|
+
font-size: small;
|
12
|
+
font-weight: bold;
|
13
|
+
}
|
14
|
+
|
15
|
+
.input, .html {
|
16
|
+
margin-bottom: 1rem;
|
17
|
+
}
|
18
|
+
|
19
|
+
.table-of-contents {
|
20
|
+
ul ul {
|
21
|
+
padding-left: 2rem;
|
22
|
+
list-style-type: circle;
|
23
|
+
}
|
24
|
+
.strong-text {
|
25
|
+
font-weight: 600;
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
- sections.each do |slug, examples|
|
2
|
+
h2 id=slug = examples.keys.first
|
3
|
+
.example class=slug
|
4
|
+
- examples.each do |_, example|
|
5
|
+
.desc= example.desc
|
6
|
+
|
7
|
+
.row
|
8
|
+
.medium-6.columns
|
9
|
+
.input
|
10
|
+
.type Textile
|
11
|
+
= code('textile') do
|
12
|
+
= example.input
|
13
|
+
.medium-6.columns
|
14
|
+
.output data-proofer-ignore=true
|
15
|
+
.type Browser
|
16
|
+
= example.output
|
17
|
+
.row
|
18
|
+
.medium-12.columns
|
19
|
+
.html
|
20
|
+
.type HTML
|
21
|
+
= code('html') do
|
22
|
+
= example.output
|
23
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
title: "<strong>Textile</strong> Reference Manual"
|
3
|
+
---
|
4
|
+
|
5
|
+
**Textile** is a simple text markup language that makes it easy to structure content for blogs, wikis, and documentation.
|
6
|
+
|
7
|
+
This guide presumes no knowledge of HTML(Hyper Text Markup Language), though you may certainly use it if what you want to accomplish is more complex than Textile allows.
|
8
|
+
|
9
|
+
*To get started learning Textile*, begin with "Writing Paragraph Text":<%= textile_manual_link('writing-paragraph-text') %> in the table of contents at right. In each section of the manual, examples clearly illustrate the rules of Textile. In each example, the Textile markup is followed by how the HTML appears in the browser.
|
10
|
+
|
11
|
+
This guide is the **official Textile reference manual for "RedCloth 4":http://redcloth.org/**. The examples shown here may not work properly on prior versions of RedCloth or other Textile processors. It doesn't document everything that's possible with RedCloth. For detailed usage examples, see the "specs":http://github.com/jgarber/redcloth/tree/master/spec/fixtures or simply try it out on the "Try RedCloth":http://redcloth.org/try-redcloth/ page or using the @redcloth@ binary included with the source code. If you notice errors and omissions in this manual, please submit an issue or pull request.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "textile_manual"
|
6
|
+
s.version = "0.0.2"
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ["Jason Garber"]
|
9
|
+
s.email = ["jg@jasongarber.com"]
|
10
|
+
s.homepage = "http://redcloth.org/"
|
11
|
+
s.summary = %q{Provides the textile reference manual to other sites}
|
12
|
+
|
13
|
+
s.files = `git ls-files`.split("\n")
|
14
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
|
18
|
+
# The version of middleman-core your extension depends on
|
19
|
+
s.add_runtime_dependency("middleman-core", [">= 4.2.1"])
|
20
|
+
s.add_runtime_dependency('slim', '>= 3.0.6')
|
21
|
+
s.add_runtime_dependency('RedCloth', '~> 4.3.2')
|
22
|
+
|
23
|
+
# Additional dependencies
|
24
|
+
# s.add_runtime_dependency("gem-name", "gem-version")
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: textile_manual
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jason Garber
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: middleman-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.2.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: slim
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.6
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.0.6
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: RedCloth
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.3.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.3.2
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- jg@jasongarber.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".bowerrc"
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- Gemfile.lock
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- bower.json
|
69
|
+
- config.rb
|
70
|
+
- config.ru
|
71
|
+
- data/textile.yml
|
72
|
+
- features/path_mounting.feature
|
73
|
+
- features/support/click_steps.rb
|
74
|
+
- features/support/env.rb
|
75
|
+
- features/support/server_steps.rb
|
76
|
+
- fixtures/manual_at_path/config.rb
|
77
|
+
- fixtures/manual_at_root/config.rb
|
78
|
+
- lib/textile_manual.rb
|
79
|
+
- lib/textile_manual/extension.rb
|
80
|
+
- source/images/.gitkeep
|
81
|
+
- source/images/.keep
|
82
|
+
- source/javascripts/all.js
|
83
|
+
- source/javascripts/app.js
|
84
|
+
- source/javascripts/modernizr.js
|
85
|
+
- source/layouts/layout.html.slim
|
86
|
+
- source/partials/_textile_toc.html.slim
|
87
|
+
- source/stylesheets/_highlighting.scss
|
88
|
+
- source/stylesheets/_settings.scss
|
89
|
+
- source/stylesheets/style.css.scss
|
90
|
+
- source/textile_manual/chapter.slim
|
91
|
+
- source/textile_manual/index.html.textile.erb
|
92
|
+
- textile_manual.gemspec
|
93
|
+
homepage: http://redcloth.org/
|
94
|
+
licenses: []
|
95
|
+
metadata: {}
|
96
|
+
post_install_message:
|
97
|
+
rdoc_options: []
|
98
|
+
require_paths:
|
99
|
+
- lib
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
requirements: []
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 2.6.10
|
113
|
+
signing_key:
|
114
|
+
specification_version: 4
|
115
|
+
summary: Provides the textile reference manual to other sites
|
116
|
+
test_files:
|
117
|
+
- features/path_mounting.feature
|
118
|
+
- features/support/click_steps.rb
|
119
|
+
- features/support/env.rb
|
120
|
+
- features/support/server_steps.rb
|