{"id":6384,"date":"2024-10-09T18:56:10","date_gmt":"2024-10-09T09:56:10","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?page_id=6384"},"modified":"2024-10-09T18:56:10","modified_gmt":"2024-10-09T09:56:10","slug":"breaks-converter","status":"publish","type":"page","link":"https:\/\/code-plus.jp\/gp\/tools\/breaks-converter\/","title":{"rendered":"\u6539\u884c\u30fb\u30bf\u30d6\u5909\u63db\u30c4\u30fc\u30eb\uff5c\u6539\u884c\u3092br\u30bf\u30b0\u30fb\\A\u306b\u4e00\u62ec\u5909\u63db"},"content":{"rendered":"<!-- \u0f3b\u273f\ud835\udc0f\ud835\udc00\ud835\udc06\ud835\udc04\u0f3a -->\n<!-- \u0f3b.mezzala\uff08\u4f59\u767d\u8abf\u6574\uff1apage\u4e0a\uff09\u0f3a -->\n<hr class=\"spacer-mezzala\" \/>\n\n\n\n\n<hr id=\"ch-TextConverter\" anchor \/>\n<div class=\"pg-saracnvtvkaa bg-hackingGate\">\n\n  <header class=\"page-header mx-auto\">\n    <!-- \u2756\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8 --><div><!-- breadcrumb.php -->\n<style>\n\/* \u2756breadcrumb.leckermaul\uff08\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\uff09\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u0f1a\u0f36\u22b0\u27e1\u22b1\u0f36\u0f1a\u0f3a*\/\n.zaratan .breadcrumb.leckermaul {\n\twidth: 100%;\n\tmax-width: calc(var(--zvw,1vw) * 92.5);\n\tmargin-inline: auto;\n}\n\n.zaratan .breadcrumb.leckermaul :is(ul, ol) {\n\tmin-height: 48px;\n\tline-height: initial;\n\tfont-size: 0;\n\tletter-spacing: 0;\n\toverflow: hidden;\n}\n\n.zaratan .breadcrumb.leckermaul li {\n\tdisplay: inline;\n\tline-height: 1.6;\n\tfont-size: clamp(0.775pc, calc(0.775pc + ((1vw - 3.6px) * 0.1563)), 0.8750pc);\n}\n\n.zaratan .breadcrumb.leckermaul li>*,\n.zaratan .breadcrumb.leckermaul li::before {\n\tposition: relative;\n\ttop: 0.125em;\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n.zaratan .breadcrumb.leckermaul a {\n\tdisplay: inline;\n\tcolor: var(--c-secondary-600, hsl(224, 25%, 43%));\n\tmargin-right: .5em;\n}\n\n.zaratan .breadcrumb.leckermaul li:nth-of-type(n+2) a {\n\tmargin-left: .5em;\n}\n\n\/* \u73fe\u5728\u306e\u30da\u30fc\u30b8\uff08\u30ea\u30f3\u30af\u306a\u3057\u3002<span aria-current=\"page\">\uff09 *\/\n.zaratan .breadcrumb.leckermaul [aria-current=\"page\"] {\n\tdisplay: inline;\n\tmargin-inline: .5em;\n\tcolor: var(--c-base-550, hsl(224, 6%, 47%));\n}\n\n@media (any-hover:hover) {\n\t.zaratan .breadcrumb.leckermaul a:hover {\n\t\tcolor: var(--c-secondary-600, hsl(224, 25%, 43%));\n\t}\n}\n\n\/* .ma-home *\/\n.zaratan .breadcrumb.leckermaul .ma-home {\n\tvertical-align: top;\n}\n\n\/* .separator *\/\n.zaratan .breadcrumb.leckermaul li:nth-of-type(n+2)::before,\n.zaratan .breadcrumb.leckermaul.chevron-right li:nth-of-type(n+2)::before {\n\tcontent: \">\";\n\tcolor: var(--c-secondary-600, hsl(224, 25%, 43%))\n}\n\n.zaratan .breadcrumb.leckermaul.slash li:nth-of-type(n+2)::before {\n\tcontent: \"\/\";\n}\n\n.zaratan .breadcrumb.leckermaul.trigon-bullet li:nth-of-type(n+2)::before {\n\tcontent: \"\u2023\";\n}\n<\/style>\n\n\n<nav class=\"breadcrumb leckermaul py-0.5r mx-auto\" aria-label=\"\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\">\n  <ul class=\"breadcrumb-wrapper\">\n    <!-- \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\u3092\u8868\u793a -->\n    <li><a href=\"https:\/\/code-plus.jp\/gp\/\"><i><\/i>\u30c8\u30c3\u30d7<\/a><\/li>\n\n          <!-- \u56fa\u5b9a\u30da\u30fc\u30b8\uff08\u305d\u308c\u4ee5\u5916\uff09\uff1a \u5148\u7956\u30da\u30fc\u30b8\u540d\u3068\u3001\u73fe\u5728\u306e\u30da\u30fc\u30b8\u540d\u3092\u8868\u793a -->\n      <li><a href=\"https:\/\/code-plus.jp\/gp\/tools\/\">Web\u30c4\u30fc\u30eb\u4e00\u89a7\uff5cHTML\/CSS\u30fb\u6587\u66f8\u7de8\u96c6\u30fb\u753b\u50cf\u7de8\u96c6<\/a><\/li><li class=\"current_page_item\"><span aria-current=\"page\">\u6539\u884c\u30fb\u30bf\u30d6\u5909\u63db\u30c4\u30fc\u30eb\uff5c\u6539\u884c\u3092br\u30bf\u30b0\u30fb\\A\u306b\u4e00\u62ec\u5909\u63db<\/span><\/li>    <!-- \/\/\/if (is_page()) -->\n\n  <\/ul>\n<\/nav><\/div>\n  <\/header><!-- \/\/\/.inheader -->\n\n\n\n\n  <!-- \u0f3b\u00a7\ud835\udc12\ud835\udc04\ud835\udc02\ud835\udc13\ud835\udc08\ud835\udc0e\ud835\udc0d\u0f3a -->\n  <section class=\"sect-cnvtVkaA-Intro\" style=\"contain-intrinsic-size:1000px;\">\n    <header class=\"section__inheader mx-auto\">\n      <div class=\"hgroup-wrapper d-iblock mb-0.5r\">\n        <h1 class=\"fz-xxl hdg-page mb-0.25pc\"><span>\u6539\u884c\u30fb\u30bf\u30d6\u5909\u63db\u30c4\u30fc\u30eb\uff5c\u6539\u884c\u3092br\u30bf\u30b0\u30fb\\A\u306b\u4e00\u62ec\u5909\u63db<\/span><\/h1>\n        <p class=\"page-foreword fz-ss\">\u30c6\u30ad\u30b9\u30c8\u5185\u306e\u6539\u884c\u3084\u30bf\u30d6\u3092\u69d8\u3005\u306a\u5f62\u5f0f\u306b\u4e00\u62ec\u5909\u63db\u3002HTML\u30e1\u30fc\u30eb\u306e\u4f5c\u6210\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u8abf\u6574\u3067\u306e\u6539\u884c\u524a\u9664\u3001\u30c7\u30fc\u30bf\u6574\u5f62\u306a\u3069\u3001\u65e5\u5e38\u7684\u306a\u30c6\u30ad\u30b9\u30c8\u51e6\u7406\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002<\/p>\n      <\/div><!-- \/\/\/.hgroup -->\n\n      <a class=\"fl-right badge is-outlined is-gray fz-xs bdrs-0.25r\" href=\"#ch-Explanation\">\n        <i class=\"icon mas ma-help\"><\/i>&nbsp;<span>\u4f7f\u3044\u65b9<\/span>\n      <\/a>\n    <\/header><!-- \/\/\/.inheader -->\n  <\/section>\n\n\n  <!-- \u0f3b\u00a7\ud835\udc12\ud835\udc04\ud835\udc02\ud835\udc13\ud835\udc08\ud835\udc0e\ud835\udc0d\u0f3a -->\n  <hr id=\"ch-Converter\" anchor \/>\n  <section class=\"sect-cnvtVkaA-Converter\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior fxd-row mx-auto\">\n      <figure class=\"section__leftlane\">\n        <div class=\"hgroup-wrapper\">\n          <h3 class=\"fz-rg hdg-section mb-0.25pc\"><span>\u25bc\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044<\/span><\/h3>\n        <\/div><!-- \/\/\/.hgroup -->\n\n        <div class=\"chest-wrapper relatived\">\n          <textarea id=\"encodeArea\" class=\"textarea\" style=\"height:17.5pc;\" placeholder=\"\u3053\u3053\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\"><\/textarea>\n          <ins id=\"decodedMessage\"><\/ins>\n        <\/div><!-- \/\/\/.chest -->\n\n        <!-- \u30aa\u30d7\u30b7\u30e7\u30f3 -->\n        <!-- <div class=\"colgroup w-full mt-1r\"><\/div> -->\n\n        <div class=\"colgroup w-full mt-1r\">\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"removeLineBreaks\">\u5168\u3066\u306e\u6539\u884c\u3092\u524a\u9664<\/label>\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"adjustLineBreaks\">\u5358\u4e00\u6539\u884c\u3092\u524a\u9664\u3001\u9023\u7d9a\u6539\u884c\u306f\uff11\u3064\u6e1b\u3089\u3059<\/label>\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"convertTagBreaks\">\u6539\u884c\u3092 \u2192 &lt;br \/&gt; \u306b\u5909\u63db<\/label>\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"convertEntityNewLines\" checked>\u6539\u884c\u3092 \u2192 &#38;#13;&#38;#10; \u306b\u5909\u63db<\/label>\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"convertULineFeeds\">\u6539\u884c\u3092 \u2192 \\A \u306b\u5909\u63db<\/label>\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"convertNthBreak2Tabs\">\n            <input type=\"text\" id=\"nthBreakCount\" class=\"w-4e\" value=\"n+1\">&nbsp;\u756a\u76ee\u306e\u6539\u884c\u3092 \u2192 \u30bf\u30d6 \u306b\u5909\u63db\n          <\/label>\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"convertEntityTabs\" checked>\u30bf\u30d6\u3092 \u2192 &#38;#9; \u306b\u5909\u63db<\/label>\n          <label class=\"label is-outlined fz-sm\"><input type=\"checkbox\" class=\"checkbox\" id=\"convert2spacesTabs\">\n            <input type=\"number\" id=\"spaceCount\" class=\"w-4e\" value=\"2\" min=\"2\">&nbsp;\u3064\u4ee5\u4e0a\u306e\u9023\u7d9a\u3059\u308b\u30b9\u30da\u30fc\u30b9\u3092 \u2192 \u30bf\u30d6 \u306b\u5909\u63db\n          <\/label>\n        <\/div><!-- \/\/\/.colgroup -->\n      <\/figure><!-- \/\/\/.leftlane -->\n\n      <figure class=\"section__centerlane\">\n        <aside class=\"sticky-sidebar fxd-column pc-center\">\n          <a class=\"button is-solided is-primary\" href=\"#ch-Converter\" onclick=\"encodeText()\"><span>\u5909\u63db&nbsp;\u00bb<\/span><\/a>\n          <a class=\"button is-solided is-primary mt-2r\" href=\"#ch-Converter\" onclick=\"decodeText()\"><span>\u00ab&nbsp;\u5909\u63db<\/span><\/a>\n        <\/aside>\n      <\/figure><!-- \/\/\/.centerlane -->\n\n\n      <figure class=\"section__rightlane\">\n        <div class=\"chest-wrapper relatived\">\n          <h3 class=\"fz-rg hdg-section mb-0.25pc\"><span>\u25bc\u5909\u63db\u5f8c\u306e\u30c6\u30ad\u30b9\u30c8<\/span><\/h3>\n          <textarea class=\"textarea\" id=\"decodeArea\" style=\"height:17.5pc;\" placeholder=\"\u3053\u3053\u306b\u5909\u63db\u5f8c\u306e\u30c6\u30ad\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\"><\/textarea>\n          <ins id=\"encodedMessage\"><\/ins>\n        <\/div><!-- \/\/\/.chest -->\n\n        <div class=\"colgroup w-full mt-1r\">\n          <!-- \u30aa\u30d7\u30b7\u30e7\u30f3 -->\n\n        <\/div><!-- \/\/\/.colgroup -->\n      <\/figure><!-- \/\/\/.rightlane -->\n    <\/div><!-- \/\/\/.interior.fxd-row -->\n  <\/section>\n\n\n  <!-- \u0f3b\u00a7\ud835\udc12\ud835\udc04\ud835\udc02\ud835\udc13\ud835\udc08\ud835\udc0e\ud835\udc0d\u0f3a -->\n  <hr id=\"ch-Explanation\" anchor \/>\n  <section class=\"sect-cnvtVkaA-Explanation pt-3r\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior mx-auto scroll-fadeIn\">\n      <div class=\"box is-broad is-solided c-base-900\">\n        <h4 class=\"hdg-explanation fz-md mb-0.25pc\">\u4f7f\u3044\u65b9<\/h4>\n        <ol style=\"list-style-type:decimal;\">\n          <li><b class=\"fw-600\">\u5de6\u5074\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2<\/b>\u306b\u5909\u63db\u3057\u305f\u3044\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b<\/li>\n          <li>\u5fc5\u8981\u306a\u5909\u63db\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af<\/li>\n          <li><b class=\"fw-600\">\u300c\u5909\u63db \u00bb\u300d\u30dc\u30bf\u30f3<\/b>\u3092\u30af\u30ea\u30c3\u30af<\/li>\n          <li>\u53f3\u5074\u306b\u5909\u63db\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u3001\u81ea\u52d5\u7684\u306b\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059<\/li>\n        <\/ol>\n\n        <h4 class=\"hdg-explanation fz-md mb-0.25pc mt-2r\">\u4e3b\u306a\u6a5f\u80fd<\/h4>\n        <p class=\"fz-ss\"><b class=\"fw-600\">\u6539\u884c\u306e\u51e6\u7406<\/b><\/p>\n        <ul style=\"list-style-type:bullet;\">\n          <li>\u5168\u3066\u306e\u6539\u884c\u3092\u524a\u9664\uff1a\u30ec\u30a4\u30a2\u30a6\u30c8\u76ee\u7684\u306e\u6539\u884c\u3092\u4e00\u62ec\u524a\u9664<\/li>\n          <li>\u5358\u4e00\u6539\u884c\u3092\u524a\u9664\u3001\u9023\u7d9a\u6539\u884c\u306f1\u3064\u6e1b\u3089\u3059\uff1a\u6bb5\u843d\u69cb\u9020\u3092\u4fdd\u6301\u3057\u306a\u304c\u3089\u6574\u5f62<\/li>\n          <li>\u6539\u884c \u2192 <code>&lt;br \/&gt;<\/code> \u306b\u5909\u63db\uff1aHTML\u7528\u306b\u6539\u884c\u30bf\u30b0\u5316<\/li>\n          <li>\u6539\u884c \u2192 <code>&amp;#13;&amp;#10;<\/code> \u306b\u5909\u63db\uff1aHTML\u30e1\u30fc\u30eb\u306ealt\u5c5e\u6027\u306a\u3069\u3067\u4f7f\u7528<\/li>\n          <li>\u6539\u884c \u2192 <code>\\A<\/code> \u306b\u5909\u63db\uff1aCSS\u306e<code>content<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u4f7f\u7528<\/li>\n        <\/ul>\n        <p class=\"fz-ss\"><b class=\"fw-600\">\u30bf\u30d6\u306e\u51e6\u7406<\/b><\/p>\n        <ul style=\"list-style-type:bullet;\">\n          <li>n\u756a\u76ee\u306e\u6539\u884c\u3092\u30bf\u30d6\u306b\u5909\u63db\uff1a\u8868\u5f62\u5f0f\u30c7\u30fc\u30bf\u3078\u306e\u5909\u63db\uff08\u5947\u6570\/\u5076\u6570\/\u7279\u5b9a\u756a\u53f7\u6307\u5b9a\u53ef\u80fd\uff09<\/li>\n          <li>\u30bf\u30d6 \u2192 <code>&amp;#9;<\/code> \u306b\u5909\u63db\uff1aHTML\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u5316<\/li>\n          <li>\u9023\u7d9a\u30b9\u30da\u30fc\u30b9\u3092\u30bf\u30d6\u306b\u5909\u63db\uff1a\u30a4\u30f3\u30c7\u30f3\u30c8\u6574\u5f62<\/li>\n        <\/ul>\n\n<h4 class=\"hdg-explanation fz-md mb-0.25pc mt-2r\">\u6d3b\u7528\u4f8b<\/h4>\n<p class=\"fz-ss\"><b class=\"fw-600\">HTML\u30e1\u30fc\u30eb\u4f5c\u6210<\/b><\/p>\n<pre><code class=\"language-html\">&lt;img src=&quot;image.jpg&quot; alt=&quot;\u5546\u54c1\u540d&amp;#13;&amp;#10;\u4fa1\u683c\uff1a5,000\u5186&amp;#13;&amp;#10;\u9001\u6599\u7121\u6599&quot;&gt;\n<\/code><\/pre>\n<p class=\"fz-ss\">alt\u5c5e\u6027\u5185\u3067\u6539\u884c\u3092\u8868\u73fe\u3059\u308b\u969b\u306b\u4f7f\u7528<\/p>\n\n<p class=\"fz-ss mt-1r\"><b class=\"fw-600\">\u30ec\u30a4\u30a2\u30a6\u30c8\u8abf\u6574\u3067\u306e\u6539\u884c\u524a\u9664<\/b><br \/>\nIllustrator\u3084PDF\u304b\u3089\u53d6\u308a\u51fa\u3057\u305f\u30c6\u30ad\u30b9\u30c8\u306e\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u76ee\u7684\u306e\u6539\u884c\u3092\u4e00\u62ec\u524a\u9664\uff1a<\/p>\n<pre><code class=\"language-\">\n\u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u3002\u540d\u524d\u306f\u307e\u3060\u7121\u3044\u3002\n\u3069\u3053\u3067\u751f\u308c\u305f\u304b\u3068\u3093\u3068\u898b\u5f53\u304c\u3064\u304b\u306c\u3002\n\u4f55\u3067\u3082\u8584\u6697\u3044\u3058\u3081\u3058\u3081\u3057\u305f\u6240\u3067\u30cb\u30e3\n\u30fc\u30cb\u30e3\u30fc\u6ce3\u3044\u3066\u3044\u305f\u4e8b\u3060\u3051\u306f\u8a18\u61b6\u3057\n\u3066\u3044\u308b\u3002\n\n\u543e\u8f29\u306f\u3053\u3053\u3067\u59cb\u3081\u3066\u4eba\u9593\u3068\u3044\u3046\u3082\u306e\n\u3092\u898b\u305f\u3002\u3057\u304b\u3082\u3042\u3068\u3067\u805e\u304f\u3068\u305d\u308c\u306f\n\u66f8\u751f\u3068\u3044\u3046\u4eba\u9593\u4e2d\u3067\u4e00\u756a\u7370\u60aa\u306a\u7a2e\u65cf\n\u3067\u3042\u3063\u305f\u305d\u3046\u3060\u3002\n<\/code><\/pre>\n\n<p class=\"fz-ss mt-1r\"><b class=\"fw-600\">CSS\u306econtent\u7528\u6539\u884c<\/b><\/p>\n<pre><code class=\"language-css\">.label::before {\n  content: &quot;\u6ce8\u610f\u4e8b\u9805\\A\u5fc5\u305a\u304a\u8aad\u307f\u304f\u3060\u3055\u3044&quot;;\n  white-space: pre;\n}\n<\/code><\/pre>\n\n<p class=\"fz-ss mt-1r\"><b class=\"fw-600\">\u8868\u5f62\u5f0f\u30c7\u30fc\u30bf\u3078\u306e\u5909\u63db<\/b><br \/>\n  2\u884c\u3054\u3068\u306b\u30bf\u30d6\u533a\u5207\u308a\u306b\u3057\u3066\u3001Excel\u8cbc\u308a\u4ed8\u3051\u7528\u30c7\u30fc\u30bf\u306b\u5909\u63db<\/p>\n\n      <\/div><!-- \/\/\/.box -->\n    <\/div><!-- \/\/\/.interior -->\n  <\/section><!-- \/\/\/.section -->\n\n\n  <!-- \u0f3b\u00a7\ud835\udc03\ud835\udc04\ud835\udc0f\ud835\udc00\ud835\udc11\ud835\udc13\ud835\udc0c\ud835\udc04\ud835\udc0d\ud835\udc13\u0f3a -->\n  <hr id=\"ch-Relation\" anchor \/>\n  <section class=\"sect-cnvtVkaA-Relation pt-3r\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior mx-auto scroll-fadeIn\">\n      <div class=\"hgroup-wrapper mb-0.5pc\">\n        <h5 class=\"hdg-relation fz-rg\"><span>\u95a2\u9023\u30c4\u30fc\u30eb<\/span><\/h5>\n      <\/div><!-- \/\/\/.hgroup -->\n\n      <ul class=\"shelf-wrapper_pc shelfA\" data-cols_pc=\"2\">\n        <li class=\"slide\">\n          <a href=\"https:\/\/code-plus.jp\/gp\/tools\/table-converter\/\" class=\"linkbox\">\n<h4 class=\"linkbox-title fz-md\">|\uff08\u30d1\u30a4\u30d7\uff09 \u3092Table\u30bf\u30b0\u306b\u5909\u63db\u30c4\u30fc\u30eb<\/h4>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/ed713607a8503186c9303c0b0a88726c.png?ver=20261027192352\" alt=\"| \u3092Table\u30bf\u30b0\u306b\u5909\u63db\u30c4\u30fc\u30eb\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">\n<\/span>\n<\/a>\n        <\/li>\n        <li class=\"slide\">\n          <a href=\"https:\/\/code-plus.jp\/gp\/tools\/deline-converter\/\" class=\"linkbox\">\n<h4 class=\"linkbox-title fz-md\">|\uff08\u30d1\u30a4\u30d7\uff09 \u3092Dl\u30bf\u30b0\u306b\u5909\u63db\u30c4\u30fc\u30eb<\/h4>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/75b351e079a1d1d3abad38372152ff91.png?ver=20261027192352\" alt=\"| \u3092Dl\u30bf\u30b0\u306b\u5909\u63db\u30c4\u30fc\u30eb\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">\n<\/span>\n<\/a>\n        <\/li>\n      <\/ul><!-- \/\/\/.shelf -->\n    <\/div><!-- \/\/\/.interior -->\n  <\/section><!-- \/\/\/.section -->\n\n\n  <!-- \u0f3b\u00a7\ud835\udc03\ud835\udc04\ud835\udc0f\ud835\udc00\ud835\udc11\ud835\udc13\ud835\udc0c\ud835\udc04\ud835\udc0d\ud835\udc13\u0f3a -->\n\n  <section class=\"sect-cnvtVkaA-Relation2 pt-3r\" style=\"contain-intrinsic-size:1000px;\">\n    <div class=\"section__interior mx-auto scroll-fadeIn\">\n      <div class=\"hgroup-wrapper mb-0.5pc\">\n\n      <\/div><!-- \/\/\/.hgroup -->\n\n\n    <\/div><!-- \/\/\/.interior -->\n  <\/section><!-- \/\/\/.section -->\n\n\n\n\n  <!-- \u0f3b.mediano\uff08\u4f59\u767d\u8abf\u6574\uff1apage\u4e0b\uff09\u0f3a -->\n  <hr class=\"spacer-mediano\" \/>\n\n<\/div><!-- \/\/\/\u25b2.page  -->\n\n\n\n\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/marked\/marked.min.js\"><\/script>\n<script src=\"https:\/\/unpkg.com\/turndown\/dist\/turndown.js\"><\/script>\n<script>\n  \/\/\u5de6\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2 \u2192 \u53f3\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u3078\u306e\u5909\u63db\n  function encodeText() {\n    let encode_area = document.getElementById('encodeArea');\n    let decode_area = document.getElementById('decodeArea');\n    let text = encode_area.value;\n\n    if (document.getElementById('removeLineBreaks').checked) { text = removeLineBreaks(text); }\n    if (document.getElementById('adjustLineBreaks').checked) { text = adjustLineBreaks(text); }\n    if (document.getElementById('convertTagBreaks').checked) { text = convertTagBreaks(text); }\n    if (document.getElementById('convertEntityNewLines').checked) { text = convertEntityNewLines(text); }\n    if (document.getElementById('convertULineFeeds').checked) { text = convertULineFeeds(text); }\n    if (document.getElementById('convertNthBreak2Tabs').checked) { text = convertNthBreak2Tabs(text); }\n    if (document.getElementById('convertEntityTabs').checked) { text = convertEntityTabs(text); }\n    if (document.getElementById('convert2spacesTabs').checked) { text = convert2spacesTabs(text); }\n\n    decode_area.value = text;\n    copyToClipboard(text, false);  \/\/isDecode = false\n  }\n\n\n\n\n  \/\/Markdown\u8a18\u6cd5\u3092 \u2192 HTML \u306b\u5909\u63db\n  function convertMd2Html(text) {\n    text = marked.parse(text);\n    text = text.replace(\/<pre><code>\/g, '<pre><code class=\"language-\">'); \/\/Prism.js\u5f62\u5f0f\u306b\u7f6e\u63db\n\n    \/\/<pre>\u30bf\u30b0\u5185\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e00\u6642\u7684\u306b\u4fdd\u8b77\n    const preBlocks = [];\n    let preIndex = 0;\n\n    \/\/<pre>\uff5e<\/pre>\u306e\u30d6\u30ed\u30c3\u30af\u3092\u62bd\u51fa\u3057\u3066\u4e00\u6642\u7684\u306a\u30de\u30fc\u30ab\u30fc\u306b\u7f6e\u63db\n    text = text.replace(\/<pre[^>]*>[\\s\\S]*?<\\\/pre>\/g, function (match) {\n      const marker = `___PRE_BLOCK_${preIndex}___`;\n      preBlocks.push(match);\n      preIndex++;\n      return marker;\n    });\n\n    \/\/<pre>\u4ee5\u5916\u306e\u90e8\u5206\u306e\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u524a\u9664\n    text = text.split('\\n').map(line => line.trim()).filter(line => line !== '').join('\\n');\n\n    \/\/\u4fdd\u8b77\u3057\u3066\u3044\u305f<pre>\u30d6\u30ed\u30c3\u30af\u3092\u5143\u306b\u623b\u3059\n    preBlocks.forEach((block, index) => {\n      const marker = `___PRE_BLOCK_${index}___`;\n      text = text.replace(marker, block);\n    });\n\n    return text;\n  }\n\n\n\n  \/\/\u3059\u3079\u3066\u306e\u30bf\u30b0\u3092\u9664\u53bb\n  function removeTags(text) {\n    text = text.replace(\/<style\\b[^<]*(?:(?!<\\\/style>)<[^<]*)*<\\\/style>\/gi, '');  \/\/<style> \u30bf\u30b0\u3068\u305d\u306e\u5185\u5bb9\u3092\u524a\u9664\n    text = text.split('\\n').map(line => line.trim()).join('\\n');\n    text = text.replace(\/<[^>]*>\/g, '');\n    text = text.trim(); \/\/\u6700\u5f8c\u306b\u5148\u982d\u3068\u672b\u5c3e\u306e\u7a7a\u767d\u3092\u524a\u9664\n    return text;\n  }\n\n\n  \/\/< >\u3092 \u2192 &lt; &gt; \u306b\u5909\u63db\n  function convertEntityLtGts(text) { return text.replace(\/<\/g, '&lt;').replace(\/>\/g, '&gt;'); }\n\n\n  \/\/\u5168\u3066\u306e\u6539\u884c\u3092\u524a\u9664\n  function removeLineBreaks(text) { return text.replace(\/\\n\/g, ''); }\n\n  \/\/\u5358\u4e00\u6539\u884c\u3092\u524a\u9664\u3001\u9023\u7d9a\u6539\u884c\u306f\uff11\u3064\u6e1b\u3089\u3059\n  function adjustLineBreaks(text) {\n    text = text.replace(\/\\n\\n\\n\\n\/g, '<QuadrupleNewLine>');\n    text = text.replace(\/\\n\\n\\n\/g, '<TripleNewLine>');\n    text = text.replace(\/\\n\\n\/g, '<DoubleNewLine>');\n    text = text.replace(\/\\n\/g, '');\n    text = text.replace(\/<QuadrupleNewLine>\/g, '\\n\\n\\n');\n    text = text.replace(\/<TripleNewLine>\/g, '\\n\\n');\n    text = text.replace(\/<DoubleNewLine>\/g, '\\n');\n    return text;\n  }\n\n  \/\/\u6539\u884c\u3092 \u2192 <br \/> \u306b\u5909\u63db\n  function convertTagBreaks(text) { return text.replace(\/\\n\/g, '<br \/>\\n'); }\n\n  \/\/\u6539\u884c\u3092 \u2192 &#13;&#10; \u306b\u5909\u63db\n  function convertEntityNewLines(text) { return text.replace(\/\\n\/g, '&#13;&#10;'); }\n\n  \/\/\u6539\u884c\u3092 \u2192 \\A \u306b\u5909\u63db\n  function convertULineFeeds(text) { return text.replace(\/\\n\/g, '\\\\A'); }\n\n  \/\/\u30bf\u30d6\uff08\\t\uff09\u3092 \u2192 &#9; \u306b\u5909\u63db\n  function convertEntityTabs(text) { return text.replace(\/\\t\/g, '&#9;'); }\n\n  \/\/n+1\u756a\u76ee\u306e\u6539\u884c\u3092\u30bf\u30d6\u306b\u5909\u63db\n  function convertNthBreak2Tabs(text) {\n    const pattern = document.getElementById('nthBreakCount').value.trim();\n\n    \/\/\u30d1\u30bf\u30fc\u30f3\u306e\u89e3\u6790\n    let nth = 2; \/\/\u30c7\u30d5\u30a9\u30eb\u30c8\u306f2\u756a\u76ee\uff08\u5076\u6570\u756a\u76ee\uff09\n\n    if (pattern === 'n+1' || pattern === 'odd') {\n      \/\/\u5947\u6570\u756a\u76ee\uff081, 3, 5...\uff09\u306e\u6539\u884c\n      nth = 'odd';\n    } else if (pattern === 'n' || pattern === 'even') {\n      \/\/\u5076\u6570\u756a\u76ee\uff082, 4, 6...\uff09\u306e\u6539\u884c\n      nth = 'even';\n    } else if (pattern.match(\/^\\d+$\/)) {\n      \/\/\u7279\u5b9a\u306e\u756a\u53f7\u6307\u5b9a\uff082, 3, 4...\uff09\n      nth = parseInt(pattern);\n    }\n\n    \/\/\u884c\u3054\u3068\u306b\u5206\u5272\n    const lines = text.split('\\n');\n\n    if (nth === 'odd') {\n      \/\/\u5947\u6570\u756a\u76ee\u306e\u6539\u884c\u3092\u30bf\u30d6\u306b\u5909\u63db\uff082\u884c\u305a\u3064\u30da\u30a2\u306b\u3059\u308b\uff09\n      const result = [];\n      for (let i = 0; i < lines.length; i += 2) {\n        if (i + 1 < lines.length) {\n          result.push(lines[i] + '\\t' + lines[i + 1]);\n        } else {\n          result.push(lines[i]);\n        }\n      }\n      return result.join('\\n');\n    } else if (nth === 'even') {\n      \/\/\u5076\u6570\u756a\u76ee\u306e\u6539\u884c\u3092\u30bf\u30d6\u306b\u5909\u63db\n      const result = [];\n      for (let i = 0; i < lines.length; i++) {\n        if (i % 2 === 0 && i + 1 < lines.length) {\n          \/\/\u6b21\u306e\u884c\u3092\u8ffd\u52a0\u3057\u306a\u3044\uff08\u6b21\u306e\u30eb\u30fc\u30d7\u3067\u51e6\u7406\uff09\n          continue;\n        } else if (i % 2 === 1) {\n          \/\/\u524d\u306e\u884c\u3068\u30bf\u30d6\u3067\u7d50\u5408\n          result.push(lines[i - 1] + '\\t' + lines[i]);\n        } else {\n          \/\/\u6700\u5f8c\u306e\u884c\u304c\u5947\u6570\u756a\u76ee\u306e\u5834\u5408\n          result.push(lines[i]);\n        }\n      }\n      return result.join('\\n');\n    } else if (typeof nth === 'number' && nth > 0) {\n      \/\/\u7279\u5b9a\u756a\u53f7\u3054\u3068\u306e\u6539\u884c\u3092\u30bf\u30d6\u306b\u5909\u63db\n      const result = [];\n      let currentGroup = [];\n\n      for (let i = 0; i < lines.length; i++) {\n        currentGroup.push(lines[i]);\n\n        if (currentGroup.length === nth || i === lines.length - 1) {\n          result.push(currentGroup.join('\\t'));\n          currentGroup = [];\n        }\n      }\n      return result.join('\\n');\n    }\n\n    return text;\n  }\n\n  \/\/\uff12\u3064\u4ee5\u4e0a\u306e\u9023\u7d9a\u3059\u308b\u30b9\u30da\u30fc\u30b9\uff08\\s{X,}\uff09\u3092\u3001\u30bf\u30d6\uff08\\t\uff09 \u306b\u5909\u63db\n  function convert2spacesTabs(text, count) {\n    const regex = new RegExp(`\\\\s{${count},}`, 'g');\n    return text.replace(regex, '\\t');\n  }\n\n\n\n\n  \/\/\u5168\u89d2\u6587\u5b57\uff08\\x01-\\x7E\uff09\u3092 \u2192 \u303c \u306b\u5909\u63db\uff08\u3000|\u3001|\u3002|\u8a18\u53f7 \u306f\u9664\u5916\uff09\n  function convertFullWidths(text) {\n    return text\n      .replace(\/\u3000\/g, '\u2b1a')  \/\/\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u3092 \u2192 \u2b1a \u306b\u5909\u63db\n      .replace(\/[^(?!.*(\u3000|\uff3f|\u2b1a|\u303c|\u3001|\u3002|\u30fb|\u2025|\u2026|\uff5e|\u203b|\u3012|\u25cf|\u25ef|\u25cc|\u25ce|\u25c9|\u29bf|\u25a0|\u25a1|\u25a3|\u25c6|\u25c7|\u25c8|\u25b2|\u25b3|\u25bc|\u25bd|\u25c0|\u25c1|\u25b6|\u25b7|\u2606|\u2605)).\\x01-\\x7E]\/g, '\u303c');\n  }\n\n  \/\/\u82f1\u5927\u6587\u5b57\u3092 \u2192 \u2341 \u306b\u5909\u63db\n  function convertAlphaUppers(text) { return text.replace(\/[A-Z]\/g, '\u2341'); }\n\n  \/\/\u82f1\u5c0f\u6587\u5b57\u3092 \u2192 \u29c4 \u306b\u5909\u63db\n  function convertAlphaLowers(text) { return text.replace(\/[a-z]\/g, '\u29c4'); }\n\n  \/\/\u6570\u5b57\u3092 \u2192 \u00f8 \u306b\u5909\u63db\n  function convertNumber0s(text) { return text.replace(\/[0-9]\/g, '\u00f8'); }\n\n  \/\/\u6570\u5b57\u3092 \u2192 \u30e9\u30f3\u30c0\u30e0\u306a\u6570\u5b57 \u306b\u5909\u63db\uff080\u306f0\u306e\u307e\u307e\uff09\n  function convertNumberRandoms(text) { return text.replace(\/[1-9]\/g, () => Math.floor(Math.random() * 9) + 1); }\n\n  \/\/\u534a\u89d2()\u3092 \u2192 \u5168\u89d2\u62ec\u5f27\uff08\uff09 \u306b\u5909\u63db\n  function convertFullParenthesis(text) { return text.replace(\/\\(\/g, '\uff08').replace(\/\\)\/g, '\uff09'); }\n\n  \/\/\u5168\u89d2\u62ec\u5f27\uff08\uff09\u3092 \u2192 \u534a\u89d2\u62ec\u5f27() \u306b\u5909\u63db\n  function convertHalfParenthesis(text) { return text.replace(\/\uff08\/g, '(').replace(\/\uff09\/g, ')'); }\n\n\n\n\n  \/\/Markdown\u5f62\u5f0f\u306e\u756a\u53f7\uff08*. \uff09\u3092 \u2192 \u4e0a\u304b\u3089\u9023\u756a\u3067\u4ed8\u3051\u76f4\u3059\n  function convertRenumbers(text) {\n    \/\/\u884c\u3054\u3068\u306b\u5206\u5272\n    let lines = text.split('\\n');\n    let firstNumber = null;  \/\/\u6700\u521d\u306b\u898b\u3064\u3051\u305f\u756a\u53f7\u3092\u4fdd\u5b58\n    let currentNumber = null;  \/\/\u73fe\u5728\u306e\u9023\u756a\n    let hasNumberedLine = false;  \/\/\u756a\u53f7\u4ed8\u304d\u306e\u884c\u304c\u5b58\u5728\u3059\u308b\u304b\n\n    \/\/\u6700\u521d\u306e\u6709\u52b9\u306a\u756a\u53f7\u3092\u898b\u3064\u3051\u308b\n    for (let line of lines) {\n      const match = line.match(\/^(\\d+)\\.\\s+\/);\n      if (match) {\n        firstNumber = parseInt(match[1]);\n        currentNumber = firstNumber;\n        hasNumberedLine = true;\n        break;\n      }\n    }\n\n    \/\/\u756a\u53f7\u4ed8\u304d\u306e\u884c\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u51e6\u7406\u3057\u306a\u3044\n    if (!hasNumberedLine) {\n      return text;\n    }\n\n    \/\/\u5404\u884c\u3092\u51e6\u7406\n    const processedLines = lines.map(line => {\n      \/\/Markdown\u5f62\u5f0f\u306e\u756a\u53f7\u4ed8\u304d\u30ea\u30b9\u30c8\u306b\u30de\u30c3\u30c1\u3059\u308b\u6b63\u898f\u8868\u73fe\n      const match = line.match(\/^(\\d+)\\.\\s+(.+)$\/);\n\n      if (match) {\n        \/\/\u756a\u53f7\u306e\u90e8\u5206\u3092\u73fe\u5728\u306e\u9023\u756a\u3067\u7f6e\u63db\n        \/\/\u5143\u306e\u6570\u5b57\u306e\u6841\u6570\u306b\u5fdc\u3058\u3066\u30b9\u30da\u30fc\u30b9\u306e\u6570\u3092\u8abf\u6574\n        const originalNumLength = match[1].length;\n        const newNumLength = currentNumber.toString().length;\n        const spaceDiff = originalNumLength - newNumLength;\n        const extraSpaces = spaceDiff > 0 ? ' '.repeat(spaceDiff) : '';\n\n        const newLine = `${currentNumber}.${extraSpaces} ${match[2]}`;\n        currentNumber++;\n        return newLine;\n      }\n      return line;\n    });\n\n    return processedLines.join('\\n');\n  }\n\n\n\n\n  \/\/JSON\u5f62\u5f0f\u3067\u8907\u6570\u306e\u8a9e\u53e5\u3092\u307e\u3068\u3081\u3066\u524a\u9664\n  function removeMultiWords(text) {\n    try {\n      \/\/\u5165\u529b\u5024\u3092\u53d6\u5f97\u3057\u3066\u6574\u5f62\n      let removeTxts = document.getElementById('removeTxts').value;\n\n      \/\/\u5165\u529b\u5024\u3092\u6574\u5f62\u3059\u308b\u95a2\u6570\n      function formatToJSON(input) {\n        \/\/\u65e2\u306bJSON\u5f62\u5f0f\u306e\u5834\u5408\u306f\u305d\u306e\u307e\u307e\u8fd4\u3059\n        try {\n          JSON.parse(input);\n          return input;\n        } catch {\n          \/\/[] \u3067\u56f2\u307e\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u8ffd\u52a0\n          if (!input.startsWith('[') && !input.endsWith(']')) {\n            input = '[' + input + ']';\n          }\n\n          \/\/\u30ab\u30f3\u30de\u533a\u5207\u308a\u306e\u5404\u8981\u7d20\u3092\u51e6\u7406\n          const words = input.slice(1, -1).split(',').map(word => {\n            \/\/\u30b9\u30da\u30fc\u30b9\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u3001\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\u306e\u307f\u3092\u8ffd\u52a0\n            if (!word.startsWith('\"') && !word.endsWith('\"')) {\n              word = '\"' + word + '\"';\n            }\n            return word;\n          });\n\n          return '[' + words.join(',') + ']';\n        }\n      }\n\n      \/\/\u5165\u529b\u5024\u3092\u6574\u5f62\n      removeTxts = formatToJSON(removeTxts);\n\n      \/\/\u6574\u5f62\u3057\u305f\u5024\u3092\u5165\u529b\u6b04\u306b\u53cd\u6620\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09\n      document.getElementById('removeTxts').value = removeTxts;\n\n      \/\/JSON\u3068\u3057\u3066\u30d1\u30fc\u30b9\n      const removeTxtsArray = JSON.parse(removeTxts);\n\n      \/\/\u5404\u8a9e\u53e5\u3092\u524a\u9664\n      removeTxtsArray.forEach(word => {\n        const escapedWord = word.replace(\/[.*+?^${}()|[\\]\\\\]\/g, '\\\\$&');\n        const regex = new RegExp(escapedWord, 'g');\n        text = text.replace(regex, '');\n      });\n\n      return text;\n    } catch (error) {\n      console.error('\u524a\u9664\u30a8\u30e9\u30fc:', error);\n      showMessage('\u8a9e\u53e5\u306e\u6307\u5b9a\u5f62\u5f0f\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002', false);\n      return text;\n    }\n  }\n\n  \/\/JSON\u5f62\u5f0f\u3067\u8907\u6570\u306e\u8a9e\u53e5\u3092\u307e\u3068\u3081\u3066\u5909\u63db\n  function convertMultiWords(text) {\n    try {\n      \/\/\u5165\u529b\u5024\u3092\u53d6\u5f97\u3057\u3066\u6574\u5f62\n      let beforeTxts = document.getElementById('beforeTxts').value;\n      let afterTxts = document.getElementById('afterTxts').value;\n\n      \/\/\u5165\u529b\u5024\u3092\u6574\u5f62\u3059\u308b\u95a2\u6570\n      function formatToJSON(input) {\n        \/\/\u65e2\u306bJSON\u5f62\u5f0f\u306e\u5834\u5408\u306f\u305d\u306e\u307e\u307e\u8fd4\u3059\n        try {\n          JSON.parse(input);\n          return input;\n        } catch {\n          \/\/[] \u3067\u56f2\u307e\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u8ffd\u52a0\n          if (!input.startsWith('[') && !input.endsWith(']')) {\n            input = '[' + input + ']';\n          }\n\n          \/\/\u30ab\u30f3\u30de\u533a\u5207\u308a\u306e\u5404\u8981\u7d20\u3092\u51e6\u7406\n          const words = input.slice(1, -1).split(',').map(word => {\n            \/\/\u30b9\u30da\u30fc\u30b9\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u3001\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\u306e\u307f\u3092\u8ffd\u52a0\n            if (!word.startsWith('\"') && !word.endsWith('\"')) {\n              word = '\"' + word + '\"';\n            }\n            return word;\n          });\n\n          return '[' + words.join(',') + ']';\n        }\n      }\n\n      \/\/\u5165\u529b\u5024\u3092\u6574\u5f62\n      beforeTxts = formatToJSON(beforeTxts);\n      afterTxts = formatToJSON(afterTxts);\n\n      \/\/\u6574\u5f62\u3057\u305f\u5024\u3092\u5165\u529b\u6b04\u306b\u53cd\u6620\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09\n      document.getElementById('beforeTxts').value = beforeTxts;\n      document.getElementById('afterTxts').value = afterTxts;\n\n      \/\/JSON\u3068\u3057\u3066\u30d1\u30fc\u30b9\n      const beforeTxtsArray = JSON.parse(beforeTxts);\n      const afterTxtsArray = JSON.parse(afterTxts);\n\n      \/\/\u4ee5\u964d\u306f\u65e2\u5b58\u306e\u30b3\u30fc\u30c9\n      if (beforeTxtsArray.length !== afterTxtsArray.length) {\n        throw new Error('\u5909\u63db\u524d\u3068\u5909\u63db\u5f8c\u306e\u8a9e\u53e5\u306e\u6570\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093');\n      }\n\n      beforeTxtsArray.forEach((beforeTxt, index) => {\n        const escapedFromWord = beforeTxt.replace(\/[.*+?^${}()|[\\]\\\\]\/g, '\\\\$&');\n        const regex = new RegExp(escapedFromWord, 'g');\n        text = text.replace(regex, afterTxtsArray[index]);\n      });\n\n      return text;\n    } catch (error) {\n      console.error('\u5909\u63db\u30a8\u30e9\u30fc:', error);\n      showMessage('\u8a9e\u53e5\u306e\u6307\u5b9a\u5f62\u5f0f\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002', false);\n      return text;\n    }\n  }\n\n\n\n\n  \/\/ |\uff08\u30d1\u30a4\u30d7\uff09\u3092 \u2192 <dl>\u30bf\u30b0 \u306b\u5909\u63db\n  function convertTagDelines(text) {\n    \/\/\u6539\u884c\u3067\u5206\u5272\n    const lines = text.split('\\n');\n\n    \/\/\u5404\u884c\u3092\u51e6\u7406\n    const processedLines = lines.map(line => {\n      line = line.trim();\n      if (line === '') return '';\n\n      \/\/ |\uff08\u30d1\u30a4\u30d7\uff09\u3067\u59cb\u307e\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u8ffd\u52a0\n      if (!line.startsWith('|')) {\n        line = '|' + line;\n      }\n      \/\/ |\uff08\u30d1\u30a4\u30d7\uff09\u3067\u7d42\u308f\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u8ffd\u52a0\n      if (!line.endsWith('|')) {\n        line = line + '|';\n      }\n\n      return line;\n    }).filter(line => line !== ''); \/\/\u7a7a\u884c\u3092\u524a\u9664\n\n    if (processedLines.length === 0) return text;\n\n    \/\/Dl\u306eHTML\u69cb\u7bc9\n    let delimitHtml = '<dl class=\"deline\">\\n';\n\n    processedLines.forEach(line => {\n      const cells = line.split('|')\n        .filter(cell => cell !== '') \/\/\u7a7a\u306e\u30bb\u30eb\u3092\u524a\u9664\n        .map(cell => cell.trim()); \/\/\u30bb\u30eb\u5185\u5bb9\u3092\u30c8\u30ea\u30e0\n\n      if (cells.length >= 2) { \/\/\u5c11\u306a\u304f\u3068\u30822\u3064\u306e\u30bb\u30eb\u304c\u3042\u308b\u5834\u5408\u306e\u307f\u51e6\u7406\n        delimitHtml += '  <div class=\"rung\">\\n';\n        delimitHtml += `    <dt>${cells[0]}<\/dt>\\n`;\n        delimitHtml += `    <dd>${cells[1]}<\/dd>\\n`;\n        delimitHtml += '  <\/div>\\n';\n      }\n    });\n\n    delimitHtml += '<\/dl><!-- \/\/\/.deline -->';\n    return delimitHtml;\n  }\n\n\n\n\n  \/\/ |\uff08\u30d1\u30a4\u30d7\uff09\u3092 \u2192 <table>\u30bf\u30b0 \u306b\u5909\u63db\n  function convertTagTables(text) {\n    \/\/\u6539\u884c\u3067\u5206\u5272\n    const lines = text.split('\\n');\n\n    \/\/\u5404\u884c\u3092\u51e6\u7406\n    const processedLines = lines.map(line => {\n      line = line.trim();\n      if (line === '') return '';\n\n      \/\/ |\uff08\u30d1\u30a4\u30d7\uff09\u3067\u59cb\u307e\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u8ffd\u52a0\n      if (!line.startsWith('|')) {\n        line = '|' + line;\n      }\n      \/\/ |\uff08\u30d1\u30a4\u30d7\uff09\u3067\u7d42\u308f\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u8ffd\u52a0\n      if (!line.endsWith('|')) {\n        line = line + '|';\n      }\n\n      return line;\n    }).filter(line => line !== ''); \/\/\u7a7a\u884c\u3092\u524a\u9664\n\n    if (processedLines.length === 0) return text;\n\n    \/\/\u30c6\u30fc\u30d6\u30eb\u306eHTML\u69cb\u7bc9\n    let tableHtml = '<table>\\n<tbody>\\n';\n\n    processedLines.forEach(line => {\n      const cells = line.split('|')\n        .filter(cell => cell !== '') \/\/\u7a7a\u306e\u30bb\u30eb\u3092\u524a\u9664\n        .map(cell => cell.trim()); \/\/\u30bb\u30eb\u5185\u5bb9\u3092\u30c8\u30ea\u30e0\n\n      if (cells.length >= 2) { \/\/\u5c11\u306a\u304f\u3068\u30822\u3064\u306e\u30bb\u30eb\u304c\u3042\u308b\u5834\u5408\u306e\u307f\u51e6\u7406\n        tableHtml += '  <tr class=\"rung\">\\n';\n        tableHtml += `    <th>${cells[0]}<\/th>\\n`;\n        tableHtml += `    <td>${cells[1]}<\/td>\\n`;\n        tableHtml += '  <\/tr>\\n';\n      }\n    });\n\n    tableHtml += '<\/tbody>\\n<\/table><!-- \/\/\/.table -->';\n    return tableHtml;\n  }\n\n\n\n\n  \/\/|++ \uff5e ++| \u3067\u56f2\u307e\u308c\u305f\u6a2a\u65b9\u5411\u306e\u30bb\u30eb\u3092\u7d50\u5408\u3059\u308b\n  function margeHoryCells(text) {\n    console.log('\u30bb\u30eb\u306e\u7d50\u5408\u51e6\u7406\u3092\u958b\u59cb\u3057\u307e\u3059');\n\n    try {\n      \/\/++\u8a18\u53f7\u304c\u30c6\u30ad\u30b9\u30c8\u5185\u306b\u3042\u308b\u304b\u306e\u7c21\u6613\u30c1\u30a7\u30c3\u30af\n      if (text.indexOf('++') === -1) {\n        console.log('++\u8a18\u53f7\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093');\n        return text;\n      }\n\n      \/\/Markdown\u5909\u63db\u76f4\u5f8c\u306eHTML\u30d1\u30bf\u30fc\u30f3\u306b\u5408\u308f\u305b\u305f\u6b63\u898f\u8868\u73fe\n      return text.replace(\/<tr>\\s*<td>\\s*\\+\\+\\s*(.*?)\\s*\\+\\+\\s*<\\\/td>(?:\\s*<td>.*?<\\\/td>)*\\s*<\\\/tr>\/g, function (match, content) {\n        console.log('++\u3067\u56f2\u307e\u308c\u305f\u30bb\u30eb\u3092\u898b\u3064\u3051\u307e\u3057\u305f:', content);\n\n        \/\/\u30d8\u30c3\u30c0\u30fc\u884c\u304b\u3089\u30ab\u30e9\u30e0\u6570\u3092\u53d6\u5f97\n        const headerMatch = text.match(\/<thead>\\s*<tr>\\s*(<th>.*?<\\\/th>\\s*)+<\\\/tr>\/);\n        let columnCount = 3; \/\/\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\n\n        if (headerMatch) {\n          const headerRow = headerMatch[0];\n          const headerCells = headerRow.match(\/<th>\/g);\n          if (headerCells) {\n            columnCount = headerCells.length;\n            console.log(`\u30c6\u30fc\u30d6\u30eb\u30d8\u30c3\u30c0\u30fc\u304b\u3089\u5217\u6570 ${columnCount} \u3092\u691c\u51fa\u3057\u307e\u3057\u305f`);\n          }\n        }\n\n        \/\/\u5143\u306e\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u30de\u30fc\u30af\u3092\u53d6\u308a\u9664\u304f\n        const cleanedContent = content.trim();\n        console.log('\u30af\u30ea\u30fc\u30f3\u306a\u5185\u5bb9:', cleanedContent);\n\n        \/\/colspan\u5c5e\u6027\u3092\u6301\u3064\u30bb\u30eb\u3067\u7f6e\u304d\u63db\u3048\n        const result = `<tr><td colspan=\"${columnCount}\">${cleanedContent}<\/td><\/tr>`;\n        console.log('\u7f6e\u63db\u7d50\u679c:', result);\n\n        return result;\n      });\n    } catch (error) {\n      console.error('\u30bb\u30eb\u7d50\u5408\u30a8\u30e9\u30fc:', error);\n      showMessage('\u30bb\u30eb\u306e\u7d50\u5408\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002', false);\n      return text;\n    }\n  }\n\n\n\n\n  \/\/<p>\u5185\u306e\u6539\u884c\u3092 \u2192 <br \/> \u306b\u5909\u63db\n  function convertTagBreaks_inP(text) {\n    \/\/<p>\u30bf\u30b0\u5185\u306e\u6539\u884c\u3092\u691c\u51fa\u3057\u3066<br \/>\u30bf\u30b0\u306b\u7f6e\u63db\uff08<pre>\u30bf\u30b0\u306f\u9664\u5916\uff09\n    return text.replace(\/(<p(?:\\s[^>]*)?>)([\\s\\S]*?)(<\\\/p>)\/g, function (match, openTag, content, closeTag) {\n      \/\/\u30b3\u30f3\u30c6\u30f3\u30c4\u5185\u306e\u6539\u884c\u3092<br \/>\u306b\u5909\u63db\n      const convertedContent = content.replace(\/\\n\/g, '<br \/>\\n');\n      return openTag + convertedContent + closeTag;\n    });\n  }\n\n  \/\/<table>\u5404\u884c\u6700\u521d\u306e\u30bb\u30eb\u3092 \u2192 <th> \u306b\u5909\u63db\n  function convertTagTd2Ths(text) {\n    try {\n      \/\/Step 1: \u4e00\u6642\u7684\u306a\u30de\u30fc\u30ab\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30c6\u30fc\u30d6\u30eb\u5185\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4fdd\u8b77\n      text = text.replace(\/(<table[\\s\\S]*?<\\\/table>)\/g, (table) => {\n        \/\/\u307e\u305a\u5168\u3066\u306e\u30bb\u30eb\u3092<td>\u306b\u5909\u63db\uff08<thead>\u5185\u3082\u542b\u3080\uff09\n        let processedTable = table.replace(\/<th(\\s[^>]*)?>([\\s\\S]*?)<\\\/th>\/g, '<td$1>$2<\/td>');\n\n        \/\/\u5404\u884c\u306e\u6700\u521d\u306e\u30bb\u30eb\u3092<th>\u306b\u5909\u63db\n        processedTable = processedTable.replace(\/(<tr[^>]*>)\\s*<td(\\s[^>]*)?>([\\s\\S]*?)<\\\/td>\/g,\n          '$1<th$2>$3<\/th>');\n\n        \/\/marked.js\u3068\u540c\u3058\u5f62\u5f0f\u306b\u6574\u5f62\uff08\u30a4\u30f3\u30c7\u30f3\u30c8\u3068\u6539\u884c\u3092\u8abf\u6574\uff09\n        processedTable = beautifyTable(processedTable);\n\n        return processedTable;\n      });\n\n      return text;\n    } catch (error) {\n      console.error('\u30c6\u30fc\u30d6\u30eb\u5909\u63db\u30a8\u30e9\u30fc:', error);\n      showMessage('\u30c6\u30fc\u30d6\u30eb\u306e\u5909\u63db\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002', false);\n      return text;\n    }\n  }\n\n\n  \/\/<img \/>\u3092 \u2192 <picture> \u3067\u56f2\u3080\n  function encloseTagImgPictures(text) {\n    try {\n      \/\/\u3059\u3067\u306bpicture\u30bf\u30b0\u3067\u56f2\u307e\u308c\u3066\u3044\u308bimg\u30bf\u30b0\u3092\u4e00\u6642\u7684\u306b\u30de\u30fc\u30af\n      let markedText = text;\n      let markerIndex = 0;\n      const markers = {};\n\n      \/\/picture\u30bf\u30b0\u3067\u56f2\u307e\u308c\u3066\u3044\u308bimg\u30bf\u30b0\u3092\u4e00\u6642\u7684\u306b\u7f6e\u63db\n      markedText = markedText.replace(\/<picture[^>]*>[\\s\\S]*?<img[^>]*>[\\s\\S]*?<\\\/picture>\/gi, function (match) {\n        const marker = `___PICTURE_MARKER_${markerIndex}___`;\n        markers[marker] = match;\n        markerIndex++;\n        return marker;\n      });\n\n      \/\/picture\u30bf\u30b0\u3067\u56f2\u307e\u308c\u3066\u3044\u306a\u3044img\u30bf\u30b0\u3092picture\u30bf\u30b0\u3067\u56f2\u3080\n      markedText = markedText.replace(\/<img([^>]*)>\/gi, function (match, attributes) {\n        \/\/\u81ea\u5df1\u9589\u3058\u30bf\u30b0\u306e\u5834\u5408\u306e\u51e6\u7406\n        if (attributes.endsWith('\/')) {\n          \/\/\u6700\u5f8c\u306e\/\u3092\u524a\u9664\u3057\u3066\u304b\u3089\u51e6\u7406\n          const cleanAttrs = attributes.slice(0, -1).trim();\n          return `<picture><img${cleanAttrs ? ' ' + cleanAttrs : ''} \/><\/picture>`;\n        } else {\n          return `<picture><img${attributes}><\/picture>`;\n        }\n      });\n\n      \/\/\u30de\u30fc\u30ab\u30fc\u3092\u5143\u306epicture\u30bf\u30b0\u306b\u623b\u3059\n      Object.keys(markers).forEach(marker => {\n        markedText = markedText.replace(marker, markers[marker]);\n      });\n\n      return markedText;\n    } catch (error) {\n      console.error('img\u2192picture\u5909\u63db\u30a8\u30e9\u30fc:', error);\n      showMessage('img\u30bf\u30b0\u306epicture\u56f2\u307f\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002', false);\n      return text;\n    }\n  }\n\n\n\n\n  \/\/\u30c6\u30fc\u30d6\u30ebHTML\u3092\u6574\u5f62\u3059\u308b\u95a2\u6570\n  function beautifyTable(html) {\n    \/\/\u4e0d\u8981\u306a\u7a7a\u767d\u3092\u524a\u9664\n    html = html.replace(\/>\\s+<\/g, '><').trim();\n\n    \/\/\u57fa\u672c\u7684\u306a\u30a4\u30f3\u30c7\u30f3\u30c8\u3068\u6539\u884c\u3092\u8a2d\u5b9a\n    html = html\n      \/\/<table> \u30bf\u30b0\u306e\u5f8c\u306b\u6539\u884c\u3092\u8ffd\u52a0\n      .replace(\/<table([^>]*)>\/g, '<table$1>\\n')\n\n      \/\/<thead> \u30bf\u30b0\u306e\u524d\u5f8c\u306b\u6539\u884c\u3068\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u8ffd\u52a0\n      .replace(\/<thead>\/g, '<thead>\\n')\n      .replace(\/<\\\/thead>\/g, '\\n<\/thead>')\n\n      \/\/<tbody> \u30bf\u30b0\u306e\u524d\u5f8c\u306b\u6539\u884c\u3068\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u8ffd\u52a0\n      .replace(\/<tbody>\/g, '<tbody>\\n')\n      .replace(\/<\\\/tbody>\/g, '\\n<\/tbody>')\n\n      \/\/<tr> \u30bf\u30b0\u306e\u524d\u5f8c\u306b\u6539\u884c\u3068\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u8ffd\u52a0\n      .replace(\/<tr>\/g, '<tr>\\n')\n      .replace(\/<\\\/tr>\/g, '\\n<\/tr>')\n\n      \/\/<th> \u30bf\u30b0\u3068 <td> \u30bf\u30b0\u306e\u5f8c\u306b\u6539\u884c\u3092\u8ffd\u52a0\n      .replace(\/<th([^>]*)>\/g, '<th$1>')\n      .replace(\/<\\\/th>\/g, '<\/th>\\n')\n      .replace(\/<td([^>]*)>\/g, '<td$1>')\n      .replace(\/<\\\/td>\/g, '<\/td>\\n');\n\n    \/\/\u6700\u7d42\u7684\u306a\u6574\u5f62\uff08\u30a4\u30f3\u30c7\u30f3\u30c8\u306e\u8ffd\u52a0\uff09\n    const lines = html.split('\\n');\n    let indentLevel = 0;\n    let result = '';\n\n    for (let i = 0; i < lines.length; i++) {\n      const line = lines[i].trim();\n      if (!line) continue;\n\n      \/\/\u9589\u3058\u30bf\u30b0\u306e\u5834\u5408\u306f\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u6e1b\u3089\u3059\n      if (line.startsWith('<\/')) {\n        indentLevel = Math.max(0, indentLevel - 1);\n      }\n\n      \/\/\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u9069\u7528\n      result += ' '.repeat(indentLevel * 2) + line + '\\n';\n\n      \/\/\u958b\u59cb\u30bf\u30b0\u306e\u5834\u5408\u306f\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u5897\u3084\u3059\uff08\u9589\u3058\u30bf\u30b0\u3084\u81ea\u5df1\u9589\u3058\u30bf\u30b0\u306f\u9664\u304f\uff09\n      if (line.startsWith('<') && !line.startsWith('<\/') && !line.endsWith('\/>') && !line.startsWith('<th') && !line.startsWith('<td')) {\n        indentLevel++;\n      }\n    }\n\n    return result.trim();\n  }\n\n\n\n\n\n  function convertListStyles(text) {\n    \/\/list-style-type\u306e\u5909\u63db\n    const convertUList = document.getElementById('convertUListStyles').checked;\n    const convertOList = document.getElementById('convertOListStyles').checked;\n    const uListStyle = document.querySelector('#convertUListStyles + select').value;\n    const oListStyle = document.querySelector('#convertOListStyles + select').value;\n\n    if (convertUList) {\n      \/\/<ul>\u30bf\u30b0\u306e\u51e6\u7406\n      text = text.replace(\/<ul((?:[^>](?!style))*?)>\/gi, `<ul$1 style=\"list-style-type:${uListStyle};\">`);\n      text = text.replace(\/<ul([^>]*?)style=\"([^\"]*?)\"\/gi, function (match, p1, p2) {\n        if (p2.includes('list-style-type')) {\n          return `<ul${p1}style=\"${p2.replace(\/list-style-type:[^;]+;?\/, `list-style-type:${uListStyle};`)}\"`;\n        } else {\n          return `<ul${p1}style=\"${p2}list-style-type:${uListStyle};\"`;\n        }\n      });\n    }\n\n    if (convertOList) {\n      \/\/<ol>\u30bf\u30b0\u306e\u51e6\u7406\uff08<ul>\u3068\u540c\u69d8\uff09\n      text = text.replace(\/<ol((?:[^>](?!style))*?)>\/gi, `<ol$1 style=\"list-style-type:${oListStyle};\">`);\n      text = text.replace(\/<ol([^>]*?)style=\"([^\"]*?)\"\/gi, function (match, p1, p2) {\n        if (p2.includes('list-style-type')) {\n          return `<ol${p1}style=\"${p2.replace(\/list-style-type:[^;]+;?\/, `list-style-type:${oListStyle};`)}\"`;\n        } else {\n          return `<ol${p1}style=\"${p2}list-style-type:${oListStyle};\"`;\n        }\n      });\n    }\n\n    return text;\n  }\n\n\n\n\n\n  \/\/\u6307\u5b9a\u306e\u30bf\u30b0\u306b\u3001\u4efb\u610f\u306e\u30af\u30e9\u30b9\u3092\u8ffd\u52a0\n  function processAllTagClasses(text) {\n    try {\n      \/\/\u51e6\u7406\u5bfe\u8c61\u306e\u5404\u30a4\u30f3\u30d7\u30c3\u30c8\u8981\u7d20\u306e\u30bb\u30c3\u30c8\n      const inputSets = [\n        { tagId: 'targetAddClase1', classId: 'afterAddClase1', checkboxId: 'convertAddClase1s' },\n        { tagId: 'targetAddClase2', classId: 'afterAddClase2', checkboxId: 'convertAddClase2s' },\n        { tagId: 'targetAddClase9', classId: 'afterAddClase9', checkboxId: 'convertAddClase9s' },\n        { tagId: 'targetAddClase10', classId: 'afterAddClase10', checkboxId: 'convertAddClase10s' },\n        { tagId: 'targetAddClase11', classId: 'afterAddClase11', checkboxId: 'convertAddClase11s' },\n        { tagId: 'targetAddClase12', classId: 'afterAddClase12', checkboxId: 'convertAddClase12s' },\n        { tagId: 'targetAddClase13', classId: 'afterAddClase13', checkboxId: 'convertAddClase13s' },\n        { tagId: 'targetAddClase14', classId: 'afterAddClase14', checkboxId: 'convertAddClase14s' },\n        { tagId: 'targetAddClase15', classId: 'afterAddClase15', checkboxId: 'convertAddClase15s' },\n        { tagId: 'targetAddClase16', classId: 'afterAddClase16', checkboxId: 'convertAddClase16s' },\n        { tagId: 'targetAddClase17', classId: 'afterAddClase17', checkboxId: 'convertAddClase17s' },\n        { tagId: 'targetAddClase18', classId: 'afterAddClase18', checkboxId: 'convertAddClase18s' },\n        { tagId: 'targetAddClase19', classId: 'afterAddClase19', checkboxId: 'convertAddClase19s' },\n        { tagId: 'targetAddClase20', classId: 'afterAddClase20', checkboxId: 'convertAddClase20s' }\n      ];\n      \/\/\u5404\u30bb\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u51e6\u7406\u3092\u5b9f\u884c\n      for (const set of inputSets) {\n        \/\/\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\n        if (document.getElementById(set.checkboxId).checked) {\n          const targetTag = document.getElementById(set.tagId).value.trim();\n          const addClass = document.getElementById(set.classId).value.trim();\n\n          \/\/\u7a7a\u306e\u5165\u529b\u30c1\u30a7\u30c3\u30af\n          if (!targetTag || !addClass) {\n            console.warn(`${set.tagId}\u307e\u305f\u306f${set.classId}\u304c\u7a7a\u3067\u3059`);\n            continue; \/\/\u3053\u306e\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u6b21\u3078\n          }\n\n          \/\/\u6b63\u78ba\u306a\u30bf\u30b0\u30de\u30c3\u30c1\u30f3\u30b0\u306e\u305f\u3081\u306e\u6539\u826f\u3055\u308c\u305f\u6b63\u898f\u8868\u73fe\n          \/\/\u30bf\u30b0\u306f<\u30bf\u30b0\u540d>\u307e\u305f\u306f<\u30bf\u30b0\u540d \u5c5e\u6027...>\u306e\u5f62\u5f0f\u306b\u30de\u30c3\u30c1\u3059\u308b\n          const regex = new RegExp(`<${targetTag}(>|\\\\s[^>]*>)`, 'g');\n\n          text = text.replace(regex, (match) => {\n            \/\/\u9589\u3058\u62ec\u5f27\u306e\u76f4\u524d\u306e\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\n            const closeBracketPos = match.lastIndexOf('>');\n            const beforeCloseBracket = match.substring(0, closeBracketPos);\n\n            if (beforeCloseBracket.includes('class=\"')) {\n              \/\/\u65e2\u5b58\u306eclass\u5c5e\u6027\u304c\u3042\u308b\u5834\u5408\n              return match.replace(\/class=\"([^\"]*)\"\/, (m, existingClasses) => {\n                const classArray = existingClasses.split(' ');\n                if (!classArray.includes(addClass)) {\n                  return `class=\"${existingClasses} ${addClass}\"`;\n                }\n                return m;\n              });\n            } else {\n              \/\/class\u5c5e\u6027\u304c\u306a\u3044\u5834\u5408\u3001\u9589\u3058\u62ec\u5f27\u306e\u76f4\u524d\u306bclass\u5c5e\u6027\u3092\u8ffd\u52a0\n              return `${beforeCloseBracket} class=\"${addClass}\">`;\n            }\n          });\n        }\n      }\n\n      return text;\n    } catch (error) {\n      console.error('\u30af\u30e9\u30b9\u8ffd\u52a0\u30a8\u30e9\u30fc:', error);\n      showMessage('\u30af\u30e9\u30b9\u8ffd\u52a0\u51e6\u7406\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002', false);\n      return text;\n    }\n  }\n\n\n  \/\/\u6307\u5b9a\u306e\u30bf\u30b0\u3092 \u2192 \u4efb\u610f\u306e\u30bf\u30b0 \u306b\u5909\u63db\n  function processAllTagUpdates(text) {\n    try {\n      \/\/\u51e6\u7406\u5bfe\u8c61\u306e\u5404\u30a4\u30f3\u30d7\u30c3\u30c8\u8981\u7d20\u306e\u30bb\u30c3\u30c8\n      const updateSets = [\n        { targetId: 'targetUpdateTag1', afterId: 'afterUpdateTag1', checkboxId: 'convertUpdateTag1s' },\n        { targetId: 'targetUpdateTag2', afterId: 'afterUpdateTag2', checkboxId: 'convertUpdateTag2s' },\n        { targetId: 'targetUpdateTag3', afterId: 'afterUpdateTag3', checkboxId: 'convertUpdateTag3s' },\n        { targetId: 'targetUpdateTag4', afterId: 'afterUpdateTag4', checkboxId: 'convertUpdateTag4s' },\n        { targetId: 'targetUpdateTag5', afterId: 'afterUpdateTag5', checkboxId: 'convertUpdateTag5s' },\n        { targetId: 'targetUpdateTag6', afterId: 'afterUpdateTag6', checkboxId: 'convertUpdateTag6s' }\n      ];\n\n      \/\/\u5404\u30bb\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u51e6\u7406\u3092\u5b9f\u884c\n      for (const set of updateSets) {\n        \/\/\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\n        if (document.getElementById(set.checkboxId).checked) {\n          const targetTag = document.getElementById(set.targetId).value.trim();\n          const afterTag = document.getElementById(set.afterId).value.trim();\n\n          \/\/\u7a7a\u306e\u5165\u529b\u30c1\u30a7\u30c3\u30af\n          if (!targetTag || !afterTag) {\n            console.warn(`${set.targetId}\u307e\u305f\u306f${set.afterId}\u304c\u7a7a\u3067\u3059`);\n            continue; \/\/\u3053\u306e\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u6b21\u3078\n          }\n\n          \/\/\u30bf\u30b0\u540d\u3068\u5c5e\u6027\u3092\u62bd\u51fa\n          const targetMatch = targetTag.match(\/^<([^\\s>]+)([^>]*)>\/);\n          const afterMatch = afterTag.match(\/^<([^\\s>]+)([^>]*)>\/);\n\n          if (!targetMatch || !afterMatch) {\n            console.warn(`${set.targetId}\u307e\u305f\u306f${set.afterId}\u306e\u30bf\u30b0\u5f62\u5f0f\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093`);\n            continue;\n          }\n\n          const [fullTargetTag, targetTagName, targetAttrs] = targetMatch;\n          const [fullAfterTag, afterTagName, afterAttrs] = afterMatch;\n\n          \/\/\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u3067\u30bf\u30b0\u3092\u30a8\u30b9\u30b1\u30fc\u30d7\n          const escapedTargetTag = escapeRegExp(fullTargetTag);\n\n          \/\/\u958b\u59cb\u30bf\u30b0\u3068\u7d42\u4e86\u30bf\u30b0\u306e\u7f6e\u63db\u3092\u76f4\u63a5\u884c\u3046\uff08\u30de\u30fc\u30ab\u30fc\u3092\u4f7f\u308f\u306a\u3044\uff09\n          const openRegex = new RegExp(escapedTargetTag, 'g');\n          const closeRegex = new RegExp(`<\/${targetTagName}>`, 'g');\n\n          \/\/\u958b\u59cb\u30bf\u30b0\u3092\u7f6e\u63db\n          text = text.replace(openRegex, fullAfterTag);\n\n          \/\/\u7d42\u4e86\u30bf\u30b0\u3092\u7f6e\u63db\n          text = text.replace(closeRegex, `<\/${afterTagName}>`);\n        }\n      }\n\n      return text;\n    } catch (error) {\n      console.error('\u30bf\u30b0\u66f4\u65b0\u30a8\u30e9\u30fc:', error);\n      showMessage('\u30bf\u30b0\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002', false);\n      return text;\n    }\n  }\n\n  \/\/\u6b63\u898f\u8868\u73fe\u306e\u30a8\u30b9\u30b1\u30fc\u30d7\u7528\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\n  function escapeRegExp(string) {\n    return string.replace(\/[.*+?^${}()|[\\]\\\\]\/g, '\\\\$&');\n  }\n\n\n\n\n  \/\/\u53f3\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2 \u2192 \u5de6\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u3078\u306e\u5909\u63db\n  function decodeText() {\n    let encode_area = document.getElementById('encodeArea');\n    let decode_area = document.getElementById('decodeArea');\n    let text = decode_area.value;\n\n    if (document.getElementById('decodeTagTables').checked) { text = decodeTagTables(text); }\n    if (document.getElementById('decodeHtml2Md').checked) { text = decodeHtml2Md(text); }\n\n    encode_area.value = text;\n    copyToClipboard(text, true);   \/\/isDecode = true\n  }\n\n\n\n\n  \/\/\u30c6\u30fc\u30d6\u30eb\u30bf\u30b0\u3092 \u2192 |\uff08\u30d1\u30a4\u30d7\uff09 \u306b\u30c7\u30b3\u30fc\u30c9\n  function decodeTagTables(text) {\n    try {\n      \/\/\u30c6\u30fc\u30d6\u30eb\u5168\u4f53\u3092\u691c\u7d22\u3057\u3066\u51e6\u7406\n      return text.replace(\/<table[^>]*>([\\s\\S]*?)<\\\/table>\/g, function (tableMatch, tableContent) {\n        let pipeRows = '';\n\n        \/\/\u5404\u884c\uff08tr\uff09\u3092\u51e6\u7406\n        const rowMatches = tableContent.match(\/<tr[^>]*>([\\s\\S]*?)<\\\/tr>\/g);\n\n        if (!rowMatches) return tableMatch; \/\/\u30c6\u30fc\u30d6\u30eb\u884c\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u5143\u306e\u307e\u307e\n\n        rowMatches.forEach(rowMatch => {\n          const rowContent = rowMatch.replace(\/<\\\/?tr[^>]*>\/g, ''); \/\/tr \u30bf\u30b0\u3092\u9664\u53bb\n          let pipeRow = '|';\n\n          \/\/\u30bb\u30eb\uff08th, td\uff09\u3092\u51e6\u7406\n          const cellMatches = rowContent.match(\/<(th|td)[^>]*>([\\s\\S]*?)<\\\/(th|td)>\/g);\n\n          if (cellMatches) {\n            cellMatches.forEach(cellMatch => {\n              \/\/\u30bb\u30eb\u306e\u5185\u5bb9\u3092\u62bd\u51fa\uff08HTML\u30bf\u30b0\u306f\u4fdd\u6301\uff09\n              const cellContent = cellMatch.replace(\/<\\\/(th|td)>$\/, '').replace(\/^<(th|td)[^>]*>\/, '');\n\n              \/\/\u30bb\u30eb\u5185\u5bb9\u3092\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\uff08\u524d\u5f8c\u306e\u7a7a\u767d\u3092\u524a\u9664\uff09\n              const cleanContent = cellContent.trim();\n\n              pipeRow += cleanContent + '|';\n            });\n          }\n\n          \/\/\u884c\u304c\u7a7a\u3067\u306a\u3044\u5834\u5408\u306e\u307f\u8ffd\u52a0\n          if (pipeRow.length > 1) {\n            pipeRows += pipeRow + '\\n';\n          }\n        });\n\n        \/\/\u6700\u5f8c\u306e\u6539\u884c\u3092\u524a\u9664\n        return pipeRows.replace(\/\\n$\/, '');\n      });\n    } catch (error) {\n      console.error('\u30c6\u30fc\u30d6\u30eb\u30c7\u30b3\u30fc\u30c9\u30a8\u30e9\u30fc:', error);\n      showMessage('\u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30b3\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002', false);\n      return text;\n    }\n  }\n\n\n\n\n  \/\/HTML\u3092 \u2192 Markdown\u8a18\u6cd5 \u306b\u30c7\u30b3\u30fc\u30c9\n  function decodeHtml2Md(text) {\n    const turndownService = new TurndownService();\n    return turndownService.turndown(text);\n  }\n\n\n\n\n  \/\/\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u306e\u30b3\u30d4\u30fc\n  function copyToClipboard(text, isDecode = false) {\n    navigator.clipboard.writeText(text).then(function () {\n      if (isDecode) {\n        \/\/\u53f3\u304b\u3089\u5de6\u3078\u306e\u5909\u63db\u6642\u306f\u5de6\u5074(decodedMessage)\u306b\u8868\u793a\n        showMessage(\"\u30c6\u30ad\u30b9\u30c8\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3057\u305f\uff01\", true, 'decodedMessage');\n      } else {\n        \/\/\u5de6\u304b\u3089\u53f3\u3078\u306e\u5909\u63db\u6642\u306f\u53f3\u5074(encodedMessage)\u306b\u8868\u793a\n        showMessage(\"\u30c6\u30ad\u30b9\u30c8\u304c\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3057\u305f\uff01\", true, 'encodedMessage');\n      }\n    }, function (err) {\n      if (isDecode) {\n        showMessage(\"\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u306e\u30b3\u30d4\u30fc\u306b\u5931\u6557\u3057\u307e\u3057\u305f: \" + err, false, 'decodedMessage');\n      } else {\n        showMessage(\"\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3078\u306e\u30b3\u30d4\u30fc\u306b\u5931\u6557\u3057\u307e\u3057\u305f: \" + err, false, 'encodedMessage');\n      }\n    });\n  }\n\n\n\n\n  \/\/\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\n  function showMessage(msg, isSuccess, messageAreaId) {\n    let messageArea = document.getElementById(messageAreaId);\n    const messageHTML = isSuccess ?\n      `<p class=\"alert is-ghosted is-primary mt-0.5r\">\n<i class=\"icon mas ma-check_circle c-primary mr-0.5r\"><\/i>\n<span>${msg}<\/span>\n<\/p>` :\n      `<p class=\"alert is-ghosted is-caution mt-0.5r\">\n<i class=\"icon mas ma-error c-caution mr-0.5r\"><\/i>\n<span>${msg}<\/span>\n<\/p>`;\n\n    messageArea.innerHTML = '';\n    messageArea.insertAdjacentHTML('beforeend', messageHTML);\n\n    setTimeout(() => {\n      messageArea.innerHTML = '';\n    }, 3000);\n  }\n\n\n\n\n  \/\/\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u6642\u306b\u4fdd\u5b58\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3080\n  window.addEventListener('load', function () {\n    const savedText = localStorage.getItem('encodedText');\n    if (savedText) {\n      document.getElementById('encodeArea').value = savedText;\n    }\n  });\n\n\n  \/\/\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u306e\u5185\u5bb9\u304c\u5909\u66f4\u3055\u308c\u305f\u3089\u4fdd\u5b58\n  document.getElementById('encodeArea').addEventListener('input', function () {\n    localStorage.setItem('encodedText', this.value);\n  });\n<\/script>","protected":false},"excerpt":{"rendered":"\u30c6\u30ad\u30b9\u30c8\u306e\u6539\u884c\u3092\u3001br\u30bf\u30b0\u30fb\u6539\u884c\u306e\u6587\u5b57\u53c2\u7167\u30fbCSS\u306e\\A\u306b\u4e00\u62ec\u5909\u63db\u3059\u308b\u30c4\u30fc\u30eb\u3002\u6539\u884c\u306e\u524a\u9664\u3084\u3001n\u756a\u76ee\u306e\u6539\u884c\u30fb\u9023\u7d9a\u30b9\u30da\u30fc\u30b9\u306e\u30bf\u30d6\u5909\u63db\u306b\u3082\u5bfe\u5fdc\u3002","protected":false},"author":1,"featured_media":15557,"parent":173,"menu_order":20,"comment_status":"closed","ping_status":"closed","template":"templates\/page-converter.php","meta":{"_acf_changed":false,"footnotes":""},"categories":[7,16],"tags":[],"group":[],"pg":[],"class_list":["post-6384","page","type-page","status-publish","has-post-thumbnail","category-html-css","category-tool"],"acf":[],"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages\/6384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=6384"}],"version-history":[{"count":0,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages\/6384\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pages\/173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/15557"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=6384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=6384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=6384"},{"taxonomy":"group","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/group?post=6384"},{"taxonomy":"pg","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pg?post=6384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}