Add doc2md plugin

This commit is contained in:
Alexander Trofimov
2022-06-22 15:59:39 +03:00
29 changed files with 710 additions and 0 deletions

View File

@ -0,0 +1,7 @@
This plugin uses code from the following 3rd party projects.
1. jQuery - Query is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. (http://jquery.com/)
License: MIT License
License File: jQuery.license

View File

@ -0,0 +1,25 @@
## Overview
Convert your formatted document to Markdown or HTML.
The plugin uses [Docs to Markdown](https://github.com/evbacher/gd2md-html) add-on.
It is is compatible with [self-hosted](https://github.com/ONLYOFFICE/DocumentServer) and [desktop](https://github.com/ONLYOFFICE/DesktopEditors) versions of ONLYOFFICE editors. It can be added to ONLYOFFICE instances manually.
## How to use
1. Find the plugin on the Plugins tab and click it.
2. Use the Markdown or HTML buttons in the sidebar window to convert your document to either Markdown or HTML.
3. If you select part of the document, Docs to Markdown will convert only the selection. Otherwise, it will convert the entire document.
## Options
- Demote headings (H1 → H2, etc.): If you have used multiple Heading 1 headings in your Doc, choose this option to demote all heading levels to conform with the following standard: single H1 as title, H2 as top-level heading in the text body.
- HTML headings/IDs: Not all Markdown renderers handle Markdown-style IDs. If that is the case for your target platform, choose this option to generate HTML headings and IDs.
- Create base64 images: Select this option if you want images to be created in base64 format.
- Render HTML tags: By default, angle brackets (<) will be replaced by the &lt; entity. If you really want to embed HTML tags in your Markdown, select this option to preserve them. Or, if you just want to use an occasional HTML tag, you can escape the opening angle bracket like this: \<tag>text\</tag>.
- Suppress top comment: Removes the informational comment at the top of the output. Warnings and errors that result from the conversion will still be part of the output.
## How to install
Detailed instructions can be found in [ONLYOFFICE API documentation](https://api.onlyoffice.com/plugin/installation).

View File

@ -0,0 +1,103 @@
{
"name": "Docs to Markdown",
"guid": "asc.{5aff455d-96c4-4bd8-9658-16e5bc143738}",
"version": "1.0.0",
"minVersion" : "6.4.0",
"variations": [
{
"description": "Docs to Markdown",
"url": "index.html",
"icons": [ "resources/light/icon.png", "resources/light/icon@2x.png" ],
"icons2": [
{
"style" : "light",
"100%": {
"normal": "resources/light/icon.png",
"hover": "resources/light/icon.png",
"active": "resources/light/icon.png"
},
"125%": {
"normal": "resources/light/icon@1.25x.png"
},
"150%": {
"normal": "resources/light/icon@1.5x.png"
},
"175%": {
"normal": "resources/light/icon@1.75x.png"
},
"200%": {
"normal": "resources/light/icon@2x.png"
}
},
{
"style" : "dark",
"100%": {
"normal": "resources/dark/icon.png"
},
"125%": {
"normal": "resources/dark/icon@1.25x.png"
},
"150%": {
"normal": "resources/dark/icon@1.5x.png"
},
"175%": {
"normal": "resources/dark/icon@1.75x.png"
},
"200%": {
"normal": "resources/dark/icon@2x.png"
}
}
],
"isViewer": true,
"EditorsSupport": [ "word" ],
"isVisual": true,
"isModal": true,
"isInsideMode": true,
"initDataType": "text",
"initData": "",
"isUpdateOleOnResize": false,
"buttons": [],
"initOnSelectionChanged": true
},
{
"description": "About",
"descriptionLocale": {
"ru": "Справка",
"fr": "À propos",
"es": "Sobre programa",
"de": "Über"
},
"url": "index_about.html",
"icons": [ "resources/img/icon.png", "resources/img/icon@2x.png", "resources/img/icon.png", "resources/img/icon@2x.png" ],
"isViewer": false,
"EditorsSupport": [ "word" ],
"isVisual": true,
"isModal": true,
"isInsideMode": false,
"initDataType": "none",
"initData": "",
"isUpdateOleOnResize": false,
"buttons": [
{
"text": "Ok",
"primary": true
}
],
"size": [ 400, 50 ]
}
]
}

View File

@ -0,0 +1,107 @@
<!--
(c) Copyright Ascensio System SIA 2020
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>synonim</title>
<script type="text/javascript" src="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js"></script>
<script type="text/javascript" src="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js"></script>
<link rel="stylesheet" href="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css">
<script src="vendor/jQuery-2.2.2-min/jquery-v2.2.2-min.js"></script>
<script src="scripts/d2md.js"></script>
</head>
<style>
html, body {
width: 100%;
height: 100%;
}
.button_wrapper {
display: flex;
justify-content: space-between;
}
.btn-text-default {
display: flex;
align-items: center;
justify-content: center;
}
#btn-markwodn {
width:40%;
margin: 16px 0 16px 12px;
text-align: center;
}
#btn-html {
float: right;
width:40%;
margin: 16px 12px 16px 0;
text-align: center;
}
#btn-copy {
width : calc( 100% - 24px);
margin: 16px 12px 16px 12px;
}
#text-area {
margin: 16px 12px 0 12px;
}
#settings {
margin: 16px 12px 0 12px;
}
.checkbox {
margin-top: 1px;
margin-left: 5px;
}
.input-container {
display: flex;
margin-bottom: 8px;
}
#hide-show-settings {
width: 130px;
margin-left: 12px;
}
#hide-settings, #show-settings {
cursor:pointer;
border-bottom: 1px dashed #333;
}
#text-area {
height: 100%;
}
</style>
<body class='body' style="margin: 0; display: flex; flex-direction: column;">
<div class="button_wrapper">
<div onсlick="" id="btn-markwodn" class="btn-text-default">Markdown</div>
<div onсlick="" id="btn-html" class="btn-text-default">HTML</div>
</div>
<div id="hide-show-settings"><label style="display:none;" id="hide-settings" class="i18n">Hide settings</label><label id="show-settings" class="i18n">Show settings</label></div>
<div id="settings" style="display: none;">
<div class="input-container">
<input type="checkbox" id="demote_headings" data-id="d2md_demote_headings" class="form-control"><label class="checkbox i18n" for="demote_headings">Demote headings (H1 → H2, etc.)</label>
</div>
<div class="input-container">
<input type="checkbox" id="html_headings" data-id="d2md_html_headings" class="form-control"><label class="checkbox i18n" for="html_headings">HTML headings/IDs</label>
</div>
<div class="input-container">
<input type="checkbox" id="base64img" data-id="d2md_base64img" class="form-control"><label class="checkbox i18n" for="base64img">Create base64 images</label>
</div>
<div class="input-container">
<input type="checkbox" id="render_html_tags" data-id="d2md_render_html_tags" class="form-control"><label class="checkbox i18n" for="render_html_tags">Render HTML tags</label>
</div>
</div>
<textarea id="text-area" name="" class="form-control"></textarea>
<div class="button_wrapper">
<div onсlick="" id="btn-copy" class="btn-text-default i18n" onclick="html()">Copy</div>
</div>
</body>
</html>

View File

@ -0,0 +1,63 @@
<!--
(c) Copyright Ascensio System SIA 2020
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>About</title>
<script type="text/javascript" src="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js"></script>
<script type="text/javascript">
window.Asc.plugin.init = function()
{
this.resizeWindow(400, 130, 400, 130, 400, 130);
};
window.Asc.plugin.button = function(id)
{
this.executeCommand("close", "");
};
</script>
<style>
p, a{
font-size: 12px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a:link {
color: darkgrey;
}
/* visited link */
a:visited {
color: darkgrey;
}
/* mouse over link */
a:hover {
color: #8d8d8d;
}
/* selected link */
a:active {
color: darkgrey;
}
</style>
</head>
<body style="padding-left: 20px; padding-right: 20px">
<p style="font-size: 15px" id="p1">This plugin use:</p>
<p style="font-size: 12px" id="p2">Docs to Markdown convert a Doc to Markdown or HTML.</p>
<p>Version: 1.0</p>
</body>
</html>

View File

@ -0,0 +1,20 @@
Copyright (c) 2009 John Resig, http://jquery.com/
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,258 @@
/**
*
* (c) Copyright Ascensio System SIA 2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
var Ps;
(function(window, undefined){
var txt = "";
var displayNoneClass = "display-none";
var elements = null;
var sHelpText = 'Choose Markdown or HTML. \r* Default: convert entire doc. \r* Select text to limit scope. \rFor more details, click the Docs link above.'
var oConfig = {
convertType : '',
htmlHeadings : false,
base64img : false,
demoteHeadings : false,
renderHTMLTags : false
};
var sCopiedInfo = 'Output copied to clipboard!';
function showLoader(elements, show) {
switchClass(elements.loader, displayNoneClass, !show);
}
function switchClass(el, className, add) {
if (add) {
el.classList.add(className);
} else {
el.classList.remove(className);
}
}
window.Asc.plugin.init = function()
{
SetSavedFromLocalStorage();
};
function SaveToLocalStorage() {
localStorage.setItem($('#demote_headings').attr('data-id'), $('#demote_headings').prop('checked'));
localStorage.setItem($('#html_headings').attr('data-id'), $('#html_headings').prop('checked'));
localStorage.setItem($('#base64img').attr('data-id'), $('#base64img').prop('checked'));
localStorage.setItem($('#render_html_tags').attr('data-id'), $('#render_html_tags').prop('checked'));
localStorage.setItem($('#suppress_info').attr('data-id'), $('#suppress_info').prop('checked'));
};
function SetSavedFromLocalStorage() {
var isDemoteHeadings = localStorage.getItem($('#demote_headings').attr('data-id'));
if (isDemoteHeadings !== null) {
if (isDemoteHeadings === true.toString())
$('#demote_headings').prop("checked", true);
else
$('#demote_headings').prop("checked", false);
}
var isHtmlHeadings = localStorage.getItem($('#html_headings').attr('data-id'));
if (isHtmlHeadings !== null) {
if (isHtmlHeadings === true.toString())
$('#html_headings').prop("checked", true);
else
$('#html_headings').prop("checked", false);
}
var isBase64 = localStorage.getItem($('#base64img').attr('data-id'));
if (isBase64 !== null) {
if (isBase64 === true.toString())
$('#base64img').prop("checked", true);
else
$('#base64img').prop("checked", false);
}
var isRenderHtmlTags = localStorage.getItem($('#render_html_tags').attr('data-id'));
if (isRenderHtmlTags !== null) {
if (isRenderHtmlTags === true.toString())
$('#render_html_tags').prop("checked", true);
else
$('#render_html_tags').prop("checked", false);
}
var isSuppressInfo = localStorage.getItem($('#suppress_info').attr('data-id'));
if (isSuppressInfo !== null) {
if (isSuppressInfo === true.toString())
$('#suppress_info').prop("checked", true);
else
$('#suppress_info').prop("checked", false);
}
};
window.Asc.plugin.onThemeChanged = function(theme)
{
window.Asc.plugin.onThemeChangedBase(theme);
$('#hide-settings, #show-settings').css('border-bottom', '1px dashed ' + window.Asc.plugin.theme["text-normal"]);
};
function DelInvalidChars(arrParas) {
for (var nPara = 0; nPara < arrParas.length; nPara++) {
arrParas[nPara] = arrParas[nPara].replace(/#/gi, '');
arrParas[nPara] = arrParas[nPara].replace(/&/gi, '');
}
};
function SplitText(sText) {
var allParasInSelection = sText.split(/\n/);
var allParsedParas = [];
for (var nStr = 0; nStr < allParasInSelection.length; nStr++) {
if (allParasInSelection[nStr].search(/ /) === 0) {
allParsedParas.push("");
allParasInSelection[nStr] = allParasInSelection[nStr].replace(/ /, "");
}
var sSplited = allParasInSelection[nStr].split(/ /);
sSplited.forEach(function(item, i, sSplited) {
allParsedParas.push(item);
});
}
return allParsedParas;
}
function SetConfig(sConvertType) {
oConfig.htmlHeadings = false;
oConfig.base64img = false;
oConfig.demoteHeadings = false;
oConfig.renderHTMLTags = false;
oConfig.suppressInfo = false;
oConfig.convertType = sConvertType;
if (document.getElementById('demote_headings').checked) {
oConfig.demoteHeadings = true;
}
if (document.getElementById('html_headings').checked) {
oConfig.htmlHeadings = true;
}
if (document.getElementById('base64img').checked) {
oConfig.base64img = true;
}
if (document.getElementById('render_html_tags').checked) {
oConfig.renderHTMLTags = true;
}
};
$(document).ready(function () {
document.getElementById("text-area").value = sHelpText;
$('#show-settings').click(function() {
$(this).hide();
$('#hide-settings').show();
$('#settings').slideToggle('fast');
});
$('#hide-settings').click(function() {
$(this).hide();
$('#show-settings').show();
$('#settings').slideToggle('fast');
});
$('#btn-markwodn').click(function() {
SetConfig('markdown');
var sInfo = '';
window.Asc.plugin.executeMethod('ConvertDocument', [oConfig.convertType, oConfig.htmlHeadings, oConfig.base64img, oConfig.demoteHeadings, oConfig.renderHTMLTags], function(sOutput) {
document.getElementById("text-area").value = sInfo + sOutput;
});
SaveToLocalStorage();
});
$('#btn-html').click(function() {
SetConfig('html');
var sInfo = '';
window.Asc.plugin.executeMethod('ConvertDocument', [oConfig.convertType, oConfig.htmlHeadings, oConfig.base64img, oConfig.demoteHeadings, oConfig.renderHTMLTags], function(sOutput) {
document.getElementById("text-area").value = sInfo + sOutput;
});
SaveToLocalStorage();
});
document.getElementById("btn-copy").onclick = function () {
selectText('text-area');
alert('Text was copied to buffer!');
var oTextArea = document.getElementById('text-area');
var sTemp = oTextArea.value;
oTextArea.value = '';
oTextArea.value = sTemp;
}
});
function selectText(id) {
var sel, range;
var el = document.getElementById(id); //get element id
if (window.getSelection && document.createRange) { //Browser compatibility
el.select();
sel = window.getSelection();
document.execCommand("copy"); //copy
sel.removeAllRanges(); //remove all ranges from selection
}
};
function updateScroll()
{
Ps && Ps.update();
};
window.Asc.plugin.button = function(id)
{
this.executeCommand("close", "");
};
function IsLastTransate(arrParas) {
if (arrParas.length !== translatedText.length)
return false;
for (var nPara = 0; nPara < arrParas.length; nPara++) {
if (arrParas[nPara] !== translatedText[nPara])
return false;
}
return true;
};
function RunTranslate(sText) {
var allParsedParas = SplitText(sText);
DelInvalidChars(allParsedParas);
if (IsLastTransate(allParsedParas))
return false;
var sParams = CreateParams(allParsedParas);
var target_lang = GetTargetLang();
document.getElementById('txt_shower').innerHTML = '';
translatedText = [];
Translate(apikey, target_lang, sParams);
};
function getMessage(key) {
return window.Asc.plugin.tr(key.trim());
};
window.Asc.plugin.onTranslate = function()
{
var elements = document.getElementsByClassName("i18n");
if (window.Asc.plugin.translateManager.Help)
document.getElementById("text-area").value = window.Asc.plugin.translateManager.Help;
for (var i = 0; i < elements.length; i++) {
var el = elements[i];
if (el.attributes["placeholder"]) el.attributes["placeholder"].value = getMessage(el.attributes["placeholder"].value);
if (el.innerText) el.innerText = getMessage(el.innerText);
}
};
window.Asc.plugin.onExternalMouseUp = function()
{
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent("mouseup", true, true, window, 1, 0, 0, 0, 0,
false, false, false, false, 0, null);
document.dispatchEvent(evt);
};
})(window, undefined);

View File

@ -0,0 +1,11 @@
{
"Copy": "Kopírovat",
"Show settings": "Zobrazit nastavení",
"Hide settings": "Skrýt nastavení",
"Render HTML tags": "Vykreslování značek HTML",
"Demote headings (H1 → H2, etc.)": "Přeřazení nadpisů (H1 → H2 atd.)",
"HTML headings/IDs": "Nadpisy/ID HTML",
"Create base64 images": "Vytvoření obrázků base64",
"Suppress top comment": "Potlačit horní komentář",
"Help": "Vyberte Markdown nebo HTML.\n* Výchozí: převod celého dokumentu.\n* Vyberte text pro omezení rozsahu."
}

View File

@ -0,0 +1,11 @@
{
"Copy": "Kopieren",
"Show settings": "Einstellungen anzeigen",
"Hide settings": "Einstellungen ausblenden",
"Render HTML tags": "HTML-Tags rendern",
"Demote headings (H1 → H2, etc.)": "Überschriften herabstufen (H1 → H2, etc.)",
"HTML headings/IDs": "HTML-Überschriften/IDs",
"Create base64 images": "Base64-Bilder erstellen",
"Suppress top comment": "Obersten Kommentar unterdrücken",
"Help": "Wählen Sie Markdown oder HTML.\n* Standard: Konvertierung des gesamten Dokuments.\n* Wählen Sie Text, um den Umfang zu begrenzen."
}

View File

@ -0,0 +1,11 @@
{
"Copy": "Copiar",
"Show settings": "Mostrar la configuración",
"Hide settings": "Ocultar la configuración",
"Render HTML tags": "Renderizar etiquetas HTML",
"Demote headings (H1 → H2, etc.)": "Desclasificar los títulos (H1 → H2, etc.)",
"HTML headings/IDs": "Encabezados/IDs HTML",
"Create base64 images": "Crear imágenes en base64",
"Suppress top comment": "Suprimir el comentario superior",
"Help": "Elija Markdown o HTML.\n* Por defecto: convertir todo el documento.\n* Seleccione el texto para limitar el alcance."
}

View File

@ -0,0 +1,11 @@
{
"Copy": "Copie de",
"Show settings": "Afficher les paramètres",
"Hide settings": "Cacher les paramètres",
"Render HTML tags": "Rendu des balises HTML",
"Demote headings (H1 → H2, etc.)": "Démontez les rubriques (H1 → H2, etc.)",
"HTML headings/IDs": "Titres/ID HTML",
"Create base64 images": "Créer des images base64",
"Suppress top comment": "Supprimer le commentaire supérieur",
"Help": "Choisissez le format Markdown ou HTML.\n* Par défaut : convertissez tout le document.\n* Sélectionnez le texte pour limiter la portée."
}

View File

@ -0,0 +1,11 @@
{
"Copy": "Copia",
"Show settings": "Mostra le impostazioni",
"Hide settings": "Nascondere le impostazioni",
"Render HTML tags": "Rendering dei tag HTML",
"Demote headings (H1 → H2, etc.)": "Declassare i titoli (H1 → H2, ecc.)",
"HTML headings/IDs": "Intestazioni/ID HTML",
"Create base64 images": "Creare immagini base64",
"Suppress top comment": "Sopprimere il commento superiore",
"Help": "Scegliere Markdown o HTML.\n* Predefinito: convertire l'intero documento.\n* Selezionare il testo per limitare la portata."
}

View File

@ -0,0 +1,11 @@
{
"Copy": "コピー元",
"Show settings": "表示設定",
"Hide settings": "設定を隠す",
"Render HTML tags": "HTMLタグのレンダリング",
"Demote headings (H1 → H2, etc.)": "見出しを降格するH1 → H2 など)。",
"HTML headings/IDs": "HTMLの見出し/ID",
"Create base64 images": "base64イメージの作成",
"Suppress top comment": "トップコメントの抑制",
"Help": "MarkdownまたはHTMLを選択します。\n* デフォルト:文書全体を変換します。\n* 範囲を限定するためにテキストを選択します。"
}

View File

@ -0,0 +1,12 @@
[
"cs-CS",
"de-DE",
"es-ES",
"fr-FR",
"it-IT",
"ja-JA",
"nl-NL",
"pt-PT",
"ru-RU",
"zh-ZH"
]

View File

@ -0,0 +1,11 @@
{
"Copy": "Kopiëren",
"Show settings": "Toon instellingen",
"Hide settings": "Instellingen verbergen",
"Render HTML tags": "HTML-tags weergeven",
"Demote headings (H1 → H2, etc.)": "Declasseer rubrieken (H1 → H2, enz.)",
"HTML headings/IDs": "HTML-koppen/ID's",
"Create base64 images": "Maak base64 afbeeldingen",
"Suppress top comment": "Onderdruk commentaar bovenaan",
"Help": "Kies Markdown of HTML.\n* Standaard: converteer hele doc.\n* Selecteer tekst om het bereik te beperken."
}

View File

@ -0,0 +1,11 @@
{
"Copy": "Cópia de",
"Show settings": "Mostrar definições",
"Hide settings": "Ocultar configurações",
"Render HTML tags": "Renderizar etiquetas HTML",
"Demote headings (H1 → H2, etc.)": "Títulos de demonstração (H1 → H2, etc.)",
"HTML headings/IDs": "Títulos/IDs HTML",
"Create base64 images": "Criar imagens base64",
"Suppress top comment": "Suprimir comentário de topo",
"Help": "Escolha Markdown ou HTML.\n* Predefinição: converter todo o doc.\n* Seleccionar texto para limitar o âmbito."
}

View File

@ -0,0 +1,12 @@
{
"Copy": "Копировать",
"Show settings": "Показать настройки",
"Hide settings": "Скрыть настройки",
"Render HTML tags": "Рендеринг HTML-тегов",
"Demote headings (H1 → H2, etc.)": "Демонтировать заголовки (H1 → H2 и т.д.)",
"HTML headings/IDs": "HTML заголовки/идентификаторы",
"Create base64 images": "Создание изображений base64",
"Suppress top comment": "Убрать верхний комментарий",
"Help": "Выберите Markdown или HTML.\n* По умолчанию: преобразовать весь документ.\n* Выберите текст, чтобы ограничить область применения."
}

View File

@ -0,0 +1,11 @@
{
"Copy": "复制自",
"Show settings": "显示设置",
"Hide settings": "隐藏设置",
"Render HTML tags": "渲染HTML标签",
"Demote headings (H1 → H2, etc.)": "降级标题H1→H2等等。)",
"HTML headings/IDs": "HTML标题/IDs",
"Create base64 images": "创建base64图像",
"Suppress top comment": "抑制顶部评论",
"Help": "选择Markdown或HTML。\n* 默认:转换整个文档。\n* 选择文本以限制范围。"
}

File diff suppressed because one or more lines are too long