Skip to content

nodebb-plugin-extended-markdown Issues.

NodeBB Plugins
1 1 77
  • We were fiddling with the markdown options to see if everything worked - and while a few minor issues I could fix with css (such as checkbox lists keeping the bullet)
    af74d19f-7dc1-4733-994f-d3b277196a5a-image.jpeg

    For reference in case others want to know how I attempted to fix it:

    // Change all ul li within post content to "∙"
    .content ul li::marker {
      content: "∙";
    }
    
    // Do not change ordered lists to "∙",but keep them as they were.
    ol li::marker {
      content: initial;
    }
    
    // Remove bullets from bullted checkbox lists.
    li:has(.plugin-markdown input[type="checkbox"])::marker {
        content: none !important;
    }
    

    Result: f0c1ecf4-73e0-41da-9eb4-96a5fd1e5de5-image.jpeg

    But the major reason I am posting is the grouped codeblocks:
    https://github.com/MinecraftForgeFrance/nodebb-plugin-extended-markdown/issues/18
    94b2768f-5e99-4d6c-be23-dab2354c4781-image.jpeg

    I posted in the github issues, but no reply. I am not sure if the project is simply inactive, or the devs just simply haven't gotten around to it - but I thought it was worth a shot posting here as well.


Suggested Topics


  • 0 Votes
    1 Posts
    413 Views
    Mr.CJ
    issues I wanted to implement DOM hook-like functionality for post pages, so I found this plugin called [nodebb-plugin-markdown-toc] But issues came up.... Since I don’t know how to write plugins and I’m not very familiar with the Harmony template, I can’t modify the front-end display of this plugin to look the way I want it to. Does anyone have any good ideas on how to modify it to make it look more appropriate? my css now /*********TOC*******/ .toc{background-color:var(--bs-container-background-color);border:1px solid #374646;box-shadow:2px 2px 3px rgba(0,0,0,0.1882352941);font-size:0.8rem !important;margin-bottom:1rem;border:1px solid rgba(0,0,0,0.125);border-radius:0.25rem;position:fixed;top:285px;left:-185px;margin-left:240px;min-width:120px;max-width:260px;padding-bottom:5px;display:inline-block;z-index:100;max-height:640px;overflow-x:hidden;overflow-y:overlay;transition:scrollbar-color 0.3s ease-out} .toc::before{content:"主题目录:";line-height:20px;text-decoration:none;text-indent:2em;margin-bottom:5px;padding:0px;font-size:12px;background-color:rgba(0,0,0,0.03);border-top:1px solid rgba(0,0,0,0.125);border-bottom:1px solid rgba(0,0,0,0.06);display:block;height:20px} .toc a{color:var(--bs-body-color-bright,var(--base06,var(--bs-body-color)))} .toc a{background:none!important;text-decoration:none!important} .toc ul{padding:0px!important;margin-bottom:0px!important;} .toc ul ul{padding-left:0.8rem!important} .toc li{list-style-position:inside;display:block;overflow:hidden;padding-right:6px!important;list-style-type:disc!important} .toc li{border-bottom:1px solid rgba(0,0,0,0.06)} .toc li li{border:none!important} .tocli a{text-decoration:none!important;word-break:break-all;word-break:break-all;overflow:hidden} .toc::-webkit-scrollbar{width:8px} .toc::-webkit-scrollbar-track{background:gba(248,249,250,0.8);border-radius:100px} .toc::-webkit-scrollbar-thumb{background-image:linear-gradient(180deg,#D0368A 0%,#708AD4 99%);box-shadow:inset 2px 2px 5px 0 rgba(#fff,0.5);border-radius:100px} @media(max-width:600px){.toc{position:unset;margin:3px auto;width:100%;min-width:50%!important;max-width:98%!important;border:1px solid #ddd;font-size:12px!important;font-family:nb,"microsoft yahei light"!important;display:inline-block} } Preview [image: 1732814143016-snipaste_2024-11-29_01-15-32.png] [image: 1732814192898-snipaste_2024-11-29_01-16-21.png] My website Preview https://bbs.aiink.cn/topic/10 https://bbs.aiink.cn/post/37 https://bbs.aiink.cn/topic/3
  • [nodebb-plugin-openai] NodeBB OpenAI Plugin

    NodeBB Plugins plugin openai
    51
    2
    6 Votes
    51 Posts
    22k Views
    xiaoyeX
    @KirillJsxh You may find this method helpful.https://jinxiusky.cn/topic/203
  • 8 Votes
    54 Posts
    27k Views
    <baris☮️>B
    Published 1.1.0, update for nodebb 3.2.0 and up, also got rid of some warning messages on startup.
  • 1 Votes
    2 Posts
    3k Views
    A
    Precision : step to disable markdown-it-checkbox in code is now not necessary since the following change made by @julianlam in nodebb-plugin-markdown... https://github.com/julianlam/nodebb-plugin-markdown/issues/108
  • 0 Votes
    1 Posts
    2k Views
    ayiyanA
    [root@bbs nodebb_develop]# sudo npm install nodebb-plugin-ali-oss npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 npm WARN deprecated [email protected]: Use uuid module instead [email protected] /autobuild/nodebb_develop └── [email protected] [root@bbs nodebb_develop]# ./nodebb upgrade Bringing base dependencies up to date... OK Checking installed plugins for updates... OK Updating NodeBB data store schema... [deprecated] String.prototype.rtrim is deprecated as of NodeBB v1.5; use utils.rtrim instead. 24/7 20:01:36 [13129] - warn: You have no mongo username/password setup! Parsing upgrade scripts... OK | 0 script(s) found, 32 skipped Upgrade complete! 24/7 20:01:36 [13129] - warn: You have no mongo username/password setup! 24/7 20:01:36 [13129] - warn: [plugins/nodebb-plugin-ali-oss] Mapped path 'oss => /autobuild/nodebb_develop/node_modules/nodebb-plugin-ali-oss/public' not found.