mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-04-23 20:03:39 +02:00
Fix and update global markdown links
This commit is contained in:
parent
ec19dfc583
commit
55381156a5
5 changed files with 7 additions and 9 deletions
|
@ -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 ^([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
|
Description
|
||||||
</label>
|
</label>
|
||||||
<p className='help'>
|
<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>
|
</p>
|
||||||
<div className='control'>
|
<div className='control'>
|
||||||
<textarea className='textarea' id='editDescription'
|
<textarea className='textarea' id='editDescription'
|
||||||
|
|
|
@ -172,7 +172,7 @@ export const EditLinguisticsForm = ({
|
||||||
Exceptions
|
Exceptions
|
||||||
</label>
|
</label>
|
||||||
<p className='help'>
|
<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>
|
</p>
|
||||||
<div className='control'>
|
<div className='control'>
|
||||||
<textarea className='textarea' id='editExceptions'
|
<textarea className='textarea' id='editExceptions'
|
||||||
|
|
|
@ -30,7 +30,7 @@ const defaultDictionary = {
|
||||||
custom: [
|
custom: [
|
||||||
{
|
{
|
||||||
name: 'Example Tab',
|
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({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env': {
|
||||||
'NODE_ENV': JSON.stringify(BUILDMODE),
|
'NODE_ENV': JSON.stringify(BUILDMODE),
|
||||||
}
|
},
|
||||||
}),
|
MARKDOWN_LINK: JSON.stringify('https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet'),
|
||||||
new webpack.DefinePlugin({
|
|
||||||
'MARKDOWN_LINK': 'https://guides.github.com/features/mastering-markdown/'
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue