Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
typogrify
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
typogrify
Merge requests
!10
Add a configuration schema
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add a configuration schema
issue/typogrify-3445834:3445834-schema-for-settings
into
8.x-1.x
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Benji Fisher
requested to merge
issue/typogrify-3445834:3445834-schema-for-settings
into
8.x-1.x
1 year ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Expand
Closes
#3445834
0
0
Merge request reports
Compare
8.x-1.x
version 2
c5223d96
1 year ago
version 1
d3f17b63
1 year ago
8.x-1.x (base)
and
latest version
latest version
c5223d96
1 commit,
1 year ago
version 2
c5223d96
1 commit,
1 year ago
version 1
d3f17b63
1 commit,
1 year ago
1 file
+
51
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
config/schema/typogrify.schema.yml
0 → 100644
+
51
−
0
Options
# Schema for the configuration files of the Typogrify module.
filter_settings.typogrify
:
type
:
mapping
label
:
'
Typogrify'
mapping
:
smartypants_enabled
:
type
:
integer
label
:
'
Use
typographers
quotation
marks
and
dashes
(<a
href="http://daringfireball.net/projects/smartypants">SmartyPants</a>'
smartypants_hyphens
:
type
:
integer
label
:
'
Dash
replacement
settings
for
SmartyPants'
space_hyphens
:
type
:
integer
label
:
'
Replace
stand-alone
dashes
(normal
dashes
between
whitespace)
em-dashes.'
wrap_ampersand
:
type
:
integer
label
:
'
Wrap
ampersands'
widont_enabled
:
type
:
integer
label
:
'
Remove
widows'
space_to_nbsp
:
type
:
integer
label
:
'
Replace
normal
spaces
with
non-breaking
spaces
before
"double
punctuation
marks"
<code>!?:;</code>.'
hyphenate_shy
:
type
:
integer
label
:
'
Words
may
be
broken
at
the
hyphenation
points
marked
by
“=”.'
wrap_abbr
:
type
:
integer
label
:
'
Wraps
abbreviations
with
<code><span
class="abbr">…</span></code>
and
inserts
space
after
the
dots.'
wrap_caps
:
type
:
integer
label
:
'
Wrap
caps'
wrap_initial_quotes
:
type
:
integer
label
:
'
Wrap
quotation
marks'
wrap_numbers
:
type
:
integer
label
:
'
Wraps
numbers
with
<code><span
class="number">…</span></code>
and
inserts
thin
space
for
digit
grouping.'
ligatures
:
type
:
string
label
:
'
Ligatures'
arrows
:
type
:
string
label
:
'
Arrows'
fractions
:
type
:
string
label
:
'
Fractions'
quotes
:
type
:
string
label
:
'
Quotes'
Loading