Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode links #25099

Merged
merged 2 commits into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/manual/ar/buildTools/Testing-with-NPM.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h2>أضف three.js</h2>
<code>
$ npm install [email protected] --save
</code>
(0.84.0 في هذا المثال). - حفظ يجعل هذا تبعية لهذا المشروع ، بدلاً من dev تبعية. انظر المستندات هنا [link:https://docs.npmjs.com/cli/v8/configuring-npm/package-json here] لمزيد من المعلومات.
(0.84.0 في هذا المثال). - حفظ يجعل هذا تبعية لهذا المشروع ، بدلاً من dev تبعية. انظر المستندات [link:https://docs.npmjs.com/cli/v8/configuring-npm/package-json هنا] لمزيد من المعلومات.
</li>
</ul>
</li>
Expand Down Expand Up @@ -173,12 +173,12 @@ <h2>أضف الرمز الخاص بك</h2>
<li>
اكتب اختبارًا للسلوك المتوقع لشفرتك ، وضعه تحت test/.
هنا مثال من مشروع حقيقي
[link:https://github.com/air/encounter/blob/master/test/Physics-test.js Here].
[link:https://github.com/air/encounter/blob/master/test/Physics-test.js هنا].
</li>

<li>
قم بتصدير الكود الوظيفي الخاص بك بطريقة يمكن للعقدة js رؤيتها ، لاستخدامها مع طلب.
شاهده هنا [link:https://github.com/air/encounter/blob/master/js/Physics.js here].
شاهده [link:https://github.com/air/encounter/blob/master/js/Physics.js هنا].
</li>

<li>
Expand Down
1 change: 1 addition & 0 deletions docs/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ body.rtl table {
}
body.rtl code {
direction: ltr !important;
text-align: initial;
}

a {
Expand Down
2 changes: 1 addition & 1 deletion docs/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function onDocumentLoad() {
text = text.replace( /\[param:([\w\.]+) ([\w\.\s]+)\]/gi, '$2 : <a class="param" onclick="window.parent.setUrlFragment(\'$1\')">$1</a>' ); // [param:name title]

text = text.replace( /\[link:([\w\:\/\.\-\_\(\)\?\#\=\!\~]+)\]/gi, '<a href="$1" target="_blank">$1</a>' ); // [link:url]
text = text.replace( /\[link:([\w\:\/\.\-\_\(\)\?\#\=\!\~]+) ([\w\:\/\.\-\_\'\s]+)\]/gi, '<a href="$1" target="_blank">$2</a>' ); // [link:url title]
text = text.replace( /\[link:([\w:/.\-_()?#=!~]+) ([\w\p{L}:/.\-_'\s]+)\]/giu, '<a href="$1" target="_blank">$2</a>' ); // [link:url title]
Mugen87 marked this conversation as resolved.
Show resolved Hide resolved
text = text.replace( /\*([\w\d\"\-\(][\w\d\ \/\+\-\(\)\=\,\."]*[\w\d\"\)]|\w)\*/gi, '<strong>$1</strong>' ); // *text*
text = text.replace( /\`(.*?)\`/gi, '<code class="inline">$1</code>' ); // `code`

Expand Down