# Little Errors on Node-RED Library Site

**URL:** <https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808>\
**Category:** General\
**Created:** [11 February 2021 08:42 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808 "2021-02-11T08:42:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![iiot2k](https://avatars.discourse-cdn.com/v4/letter/i/8baadc/32.png) [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Post date:** [11 February 2021 08:42 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/1 "2021-02-11T08:42:55Z")

</div>

I have published node-red-contrib-redplc-rpi-ads1x15.

First Error:  
In README.md is a table.  
On npm and Github, the table is displayed correct.  
But on Node-RED Library Site shows markdown code.  
Is this a error on my table or on Node-RED Library Site ?

Second Error:  
On my .htm file I use Node-Red Icon rpi.svg.  
But on Node-RED Library Site shows:  
 ![Node-Red-Icon](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/a/fa3ee4814cf0a42fcbfa0b294e2cdfdd4d0e81ce.png)

Is there a problem with .svg files ?

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [11 February 2021 09:28 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/2 "2021-02-11T09:28:24Z")

</div>

> [@iiot2k](#):
>
> On my .htm file I use Node-Red Icon rpi.svg.  
> But on Node-RED Library Site shows:

Where is the rpi.svg file, I can't see it in your repo.

- It's not listed as a node-RED stock icon
- Not an icon listed in FA4.7
- and there is no `icon` folder containing a custom icon

> [@iiot2k](#):
>
> But on Node-RED Library Site shows markdown code.  
> Is this a error on my table or on Node-RED Library Site ?

Try formatting the tables like this [Basic writing and formatting syntax - GitHub Docs](https://guides.github.com/features/mastering-markdown/)  
I believe that the Flows library markdown does not like `:|:`  
So try;

```auto
Input | Array-Index
------------ | -------------
IA0-GND|0
IA1-GND|1

```

instead of;

```auto
|Input|Array-Index|
|:----|:-:|
|IA0-GND|0|
|IA1-GND|1|
```

---

<div class="post-metadata">

**Author:** ![iiot2k](https://avatars.discourse-cdn.com/v4/letter/i/8baadc/32.png) [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Post date:** [11 February 2021 10:01 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/3 "2021-02-11T10:01:14Z")

</div>

Thanks for your comment.

> Where is the rpi.svg file, I can't see it in your repo.
> 
> - It's not listed as a node-RED stock icon
> - Not an icon listed in FA4.7
> - and there is no `icon` folder containing a custom icon

rpi.svg is in Node-Red:  
/node-red/packages/node\_modules/@node-red/nodes/icons/

| :-- | is markdown table justify left,  
| :-: | is markdown table justify center

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [11 February 2021 10:07 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/4 "2021-02-11T10:07:50Z")

</div>

> [@iiot2k](#):
>
> rpi.svg is in Node-Red:  
> /node-red/packages/node\_modules/@node-red/nodes/icons/

You can't just use any icon location, [please refer to the node-RED readme](https://nodered.org/docs/creating-nodes/appearance#icon).

> [@iiot2k](#):
>
> | :-- | is markdown table justify left,  
> | :-: | is markdown table justify center

I'm aware of that, but as I've already said;

> [@Paul-Reed](#):
>
> I believe that the Flows library markdown does not like `:|:`

...and table justification does not appear to be listed as a supported syntax in the [github markdown guide](https://guides.github.com/features/mastering-markdown/).

---

<div class="post-metadata">

**Author:** ![iiot2k](https://avatars.discourse-cdn.com/v4/letter/i/8baadc/32.png) [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Post date:** [11 February 2021 10:12 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/5 "2021-02-11T10:12:34Z")

</div>

Ok, I make my own icons and don't use table column justification extended syntax. 😋

> **[Extended Syntax | Markdown Guide](https://www.markdownguide.org/extended-syntax/)**
>
> Advanced features that build on the basic Markdown syntax.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 February 2021 10:47 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/6 "2021-02-11T10:47:25Z")

</div>

Thanks for highlighting the table formatting issue.

The problem with markdown not being a standard is there are lots of extended syntaxes and there are dozens of libraries that claim to do it all, but don't necessarily.

If you wanted to raise an issue on the flow library git repo, it would be a great first issue for someone interested in contributing. Otherwise, I'll get to it eventually myself.

> **[node-red/flow-library](https://github.com/node-red/flow-library)**
>
> Node-RED Flow Library. Contribute to node-red/flow-library development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [11 February 2021 12:26 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/7 "2021-02-11T12:26:14Z")

</div>

Agreed. GitHub flavoured markdown would be best for the flows library I think given its content.

However Commonmark seems to be the emerging standard and getting ever wider support.

---

<div class="post-metadata">

**Author:** ![iiot2k](https://avatars.discourse-cdn.com/v4/letter/i/8baadc/32.png) [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Post date:** [11 February 2021 12:59 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/8 "2021-02-11T12:59:27Z")

</div>

I change node-red-contrib-redplc-rpi-ads1x15  
Icon shown now ok, but I forget to remove the pipe character.  
Ok, I wait for change the Markdown rendering engine.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 April 2021 12:59 UTC](https://discourse.nodered.org/t/little-errors-on-node-red-library-site/40808/9 "2021-04-12T12:59:40Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
