BUTR / BUTR/Converter.MarkdownToBBCode

Spacing inconsistency (markdown -> nexus bbc)

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Thanks again for the wonderful tool. A couple of things which can be improved (with regard to the markdown to nexus bbc conversion):

[workflow used](https://github.com/jpw1991/chebs-necromancy/actions/runs/5944963059)

## Spacing

There's an inconsistency with the amount of spacing between headings and content:

### Markdown

![image](https://github.com/BUTR/Converter.MarkdownToBBCode/assets/13718599/ada1bb3e-f74e-4be4-9447-a20310138d62)

```md
# Cheb's Necromancy

Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks like woodcutting, farming, mining.

This mod was formerly called Friendly Skeleton Wand, but was renamed since it as grown into something so much more.

## Confused? Try the [wiki](https://github.com/jpw1991/chebs-necromancy/wiki).

## Important: Updating to 3.3.1 from an old version, read [here](https://github.com/jpw1991/chebs-necromancy/wiki/Upgrading-from-3.2.0-to-3.3.1)

## About Me

[![image1](https://imgur.com/Fahi6sP.png)](https://chebgonaz.pythonanywhere.com)
[![image2](https://imgur.com/X18OyQs.png)](https://ko-fi.com/chebgonaz)
[![image3](https://imgur.com/4e64jQ8.png)](https://www.patreon.com/chebgonaz?fan_landing=true)

I'm a YouTuber/Game Developer/Modder who is interested in all things necromancy and minion-related. Please check out my [YouTube channel](https://www.youtube.com/channel/UCPlZ1XnekiJxKymXbXyvkCg) and if you like the work I do and want to give back, please consider supporting me on [Patreon](https://www.patreon.com/chebgonaz?fan_landing=true) or throwing me a dime on [Ko-fi](https://ko-fi.com/chebgonaz). You can also check out my [website](https://chebgonaz.pythonanywhere.com) where I host information on all known necromancy mods, games, books, videos and also some written reviews/guides.

Thank you and I hope you enjoy the mod! If you have questions or need help please join my [Discord](https://discord.com/invite/EB96ASQ).

### Bisect Hosting

I'm partnered with [Bisect Hosting](https://bisecthosting.com/chebgonaz) to give you a discount when you use promocode `chebgonaz`.
```

### BBC

![image](https://github.com/BUTR/Converter.MarkdownToBBCode/assets/13718599/5da57636-e01d-42a0-9045-2f2293196f4e)

```bbc
[size=6]Cheb's Necromancy[/size]

Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks like woodcutting, farming, mining.

This mod was formerly called Friendly Skeleton Wand, but was renamed since it as grown into something so much more.

[size=5]Confused? Try the [url=https://github.com/jpw1991/chebs-necromancy/wiki]wiki[/url].[/size]

[size=5]Important: Updating to 3.3.1 from an old version, read [url=https://github.com/jpw1991/chebs-necromancy/wiki/Upgrading-from-3.2.0-to-3.3.1]here[/url][/size]

[size=5] About Me[/size]

[url=https://chebgonaz.pythonanywhere.com][img]https://imgur.com/Fahi6sP.png[/img][/url]
[url=https://ko-fi.com/chebgonaz][img]https://imgur.com/X18OyQs.png[/img][/url]
[url=https://www.patreon.com/chebgonaz?fan_landing=true][img]https://imgur.com/4e64jQ8.png[/img][/url]

I'm a YouTuber/Game Developer/Modder who is interested in all things necromancy and minion-related. Please check out my [url=https://www.youtube.com/channel/UCPlZ1XnekiJxKymXbXyvkCg]YouTube channel[/url] and if you like the work I do and want to give back, please consider supporting me on [url=https://www.patreon.com/chebgonaz?fan_landing=true]Patreon[/url] or throwing me a dime on [url=https://ko-fi.com/chebgonaz]Ko-fi[/url]. You can also check out my [url=https://chebgonaz.pythonanywhere.com]website[/url] where I host information on all known necromancy mods, games, books, videos and also some written reviews/guides.

Thank you and I hope you enjoy the mod! If you have questions or need help please join my [url=https://discord.com/invite/EB96ASQ]Discord[/url].

[size=4]Bisect Hosting[/size]

I'm partnered with [url=https://bisecthosting.com/chebgonaz]Bisect Hosting[/url] to give you a discount when you use promocode [b]chebgonaz[/b].

[img]https://www.bisecthosting.com/partners/custom-banners/b2629ae1-293a-4094-9d2d-002d14529a82.webp[/img]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the Markdown and expected NexusMods BBCode examples included in the report, then trace the Markdown-to-BBCode conversion entry point. Compare spacing around headings and their following content, including the visible leading space before “About Me.” Done means the generated BBCode has consistent spacing with the source Markdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.