BBob

⚡️Blazing fast js bbcode parser, that transforms and parses bbcode to AST and transform it to HTML, React, Vue with plugin support in pure javascript, no dependencies

MIT License

Downloads
426.9K
Stars
163
Committers
14

Bot releases are visible (Hide)

BBob - @bbob/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • #191 0c78831 Thanks @JiLiZART! - Now HTML5 Preset supports color tag

    [color="red"]Red Text[/color]
    

    Also fixes bug with case insensitive tags in onlyAllowTags
    Now you can pas h1 and H1 and they will be treated as same tags

  • Updated dependencies [0c78831]:

BBob - @bbob/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

BBob - @bbob/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • #191 0c78831 Thanks @JiLiZART! - Now HTML5 Preset supports color tag

    [color="red"]Red Text[/color]
    

    Also fixes bug with case insensitive tags in onlyAllowTags
    Now you can pas h1 and H1 and they will be treated as same tags

  • Updated dependencies [0c78831]:

BBob - @bbob/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

BBob - @bbob/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • #186 603c3ea Thanks @JiLiZART! - Fixes bug where nested tag quote lost

    [color=red]test[/color]
    [quote]xxxsdfasdf
    sdfasdfasdf
    
    [url=xxx]xxx[/url]
    

    Now content not will be lost, but not closed tag will displayed as raw text

BBob - @bbob/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • #186 603c3ea Thanks @JiLiZART! - Fixes bug where nested tag quote lost

    [color=red]test[/color]
    [quote]xxxsdfasdf
    sdfasdfasdf
    
    [url=xxx]xxx[/url]
    

    Now content not will be lost, but not closed tag will displayed as raw text

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/vue2

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/react

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/preset-vue

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/preset-react

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/preset-html5

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/preset

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Features

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Features

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/html

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/core

BBob - @bbob/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { defineComponent } from "vue";
    import VueBbob from "@bbob/vue3";
    
    Vue.use(VueBbob);
    
    <template>
      <div class="vue3">
        <h2>Generated vue3 here</h2>
        <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
      </div>
    </template>
    <script>
      import { defineComponent } from "vue";
      import preset from "@bbob/preset-vue";
    
      export default defineComponent({
        name: "App",
        data() {
          return {
            bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
            plugins: [preset()],
          };
        },
      });
    </script>
    

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

2.9.0 (2023-01-29)

Note: Version bump only for package @bbob/cli

BBob - v2.9.0

Published by JiLiZART over 1 year ago

2.9.0 (2023-01-29)

Features

BBob - v2.8.3

Published by JiLiZART almost 2 years ago

2.8.3 (2022-12-18)

Bug Fixes