alskgj / alskgj.github.io

1 stars 0 forks source link

Tag NPC Names with emojis #1

Open indero opened 5 years ago

indero commented 5 years ago

I suggest we add some tags to the names in the NPC list, we could use emojis.

For example:

Droop 🤝

Glastaff 💀


Any ideas? More Categories, no Emojis?

alskgj commented 5 years ago

Good idea, go for it!

indero commented 5 years ago

I got an Update to this. I asked in the asciidoctor gitter chat on how to approach this.

Good Sunday. I'm looking for adding classes to headings. In our case we have a DND Campaign, with bunch of important NPCs. The Idea was that the NPC's get an icon based on if they are: friendly, enemies, merchants etc. My idea was to solve this by adding classes to headings. Which then act as kind of a label. I'm not sure if solving this with classes is the best solution and would I need to write a plugin for asciidoctor to achieve that?

Abel Salgado Romero @abelsromero 16:40 This seems a good case for roles(https://asciidoctor.org/docs/user-manual/#role). But I wasn't able to add them to the heading (h2, h3 element), but only to the whole section div. Not sure if this is on purpose But in this case it make sense semantically, and you can even combine classes, with just


[.merchant.enemy]
=== NPC 1

[.merchant.friendly] === NPC 2


> Dan Allen @mojavelinux 20:20
> @abelsromero you are correct about roles
>>  But I wasn't able to add them to the heading (h2, h3 element), but only to the whole section div. Not sure if this is on purpose
>
> yes, that's intentional. if we add it directly to the heading element, then you can't style the section. but since we add it to the section element, you can style either. the heading is styled used .sect1.rolename > h2 (and so forth)
>
> it's one of those cases where it seems obvious to add it directly to the heading at first, but when you think about all the use cases, you realize it should be on the section container