Fix and update global markdown links
This commit is contained in:
parent
ec19dfc583
commit
55381156a5
|
@ -8,6 +8,6 @@ RewriteRule ^view/([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dict
|
|||
|
||||
RewriteRule ^([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids.
|
||||
|
||||
RewriteRule ^issues/?$ https://github.com/Alamantus/Lexiconga/issues [R=301,L] # Shorten issues url.
|
||||
RewriteRule ^issues/?$ https://gitlab.com/Alamantus/Lexiconga/issues [R=301,L] # Shorten issues url.
|
||||
|
||||
RewriteRule ^updates/?$ https://github.com/Alamantus/Lexiconga/releases [R=301,L] # Shorten updates url.
|
||||
RewriteRule ^updates/?$ https://gitlab.com/Alamantus/Lexiconga/wikis/updates [R=301,L] # Shorten updates url.
|
||||
|
|
|
@ -53,7 +53,7 @@ export const EditDictionaryForm = ({
|
|||
Description
|
||||
</label>
|
||||
<p className='help'>
|
||||
A description of your dictionary, <a href='MARKDOWN_LINK' target='_blank'>Markdown</a> enabled
|
||||
A description of your dictionary, <a href={ MARKDOWN_LINK } target='_blank'>Markdown</a> enabled
|
||||
</p>
|
||||
<div className='control'>
|
||||
<textarea className='textarea' id='editDescription'
|
||||
|
|
|
@ -172,7 +172,7 @@ export const EditLinguisticsForm = ({
|
|||
Exceptions
|
||||
</label>
|
||||
<p className='help'>
|
||||
Any exceptions for your phonotactics rules, <a href='MARKDOWN_LINK' target='_blank'>Markdown</a> enabled
|
||||
Any exceptions for your phonotactics rules, <a href={ MARKDOWN_LINK } target='_blank'>Markdown</a> enabled
|
||||
</p>
|
||||
<div className='control'>
|
||||
<textarea className='textarea' id='editExceptions'
|
||||
|
|
|
@ -30,7 +30,7 @@ const defaultDictionary = {
|
|||
custom: [
|
||||
{
|
||||
name: 'Example Tab',
|
||||
content: `This is an _example_ tab to show how **tabs** work with [Markdown](MARKDOWN_LINK)!`,
|
||||
content: `This is an _example_ tab to show how **tabs** work with [Markdown](${ MARKDOWN_LINK })!`,
|
||||
}
|
||||
],
|
||||
},
|
||||
|
|
|
@ -96,10 +96,8 @@ const webpackConfig = {
|
|||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
'NODE_ENV': JSON.stringify(BUILDMODE),
|
||||
}
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'MARKDOWN_LINK': 'https://guides.github.com/features/mastering-markdown/'
|
||||
},
|
||||
MARKDOWN_LINK: JSON.stringify('https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet'),
|
||||
}),
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in New Issue