Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Sith
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AE
Sith
Commits
daee59f7
Commit
daee59f7
authored
Feb 24, 2017
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change spans to sub and sup markups
parent
5f1e4ebe
Pipeline
#761
failed with stage
in 3 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/markdown.py
core/markdown.py
+2
-2
No files found.
core/markdown.py
View file @
daee59f7
...
...
@@ -8,10 +8,10 @@ class SithRenderer(Renderer):
return
reverse
(
'core:file_detail'
,
kwargs
=
{
'file_id'
:
id
})
+
suffix
def
exposant
(
self
,
text
):
return
"""<s
pan class="exposant">%s</span
>"""
%
text
return
"""<s
up>%s</sup
>"""
%
text
def
indice
(
self
,
text
):
return
"""<s
pan class="indice">%s</span
>"""
%
text
return
"""<s
ub>%s</sub
>"""
%
text
def
underline
(
self
,
text
):
return
"""<span class="underline">%s</span>"""
%
text
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment