berteh / mindslide

View Freeplane mindmap as an HTML presentation (aka freemind to powerpoint slideshow)
http://berteh.github.io/mindslide/
60 stars 19 forks source link

turn "first node as subtitle" into an option #19

Open berteh opened 8 years ago

berteh commented 8 years ago

reported by Quinbus (https://sourceforge.net/p/freeplane/discussion/758437/thread/6a6fed27/#d6c9/35b5)

Grandchildren in my map (level 2) present their first child (level 3) as perhaps "subtitles" that look different in the slide than the other siblings. I've attached a screenshot that shows the parent as title, the first child as a subtitle (centered and no bullet) and the remaining children as bulleted items. This isn't happening with level 1 children, so I assume this is perhaps a style preference? I looked through the config.xml settings and didn't see anything that would suggest some settting to change?

I've looked at the demonstration slideshow and this is happening there as well, so I think it is a design element.

Is there some way to override this as an option? To use the first child in this way is a nice feature, but it requires that the mindmap be constructed with this in mind (i.e., the first child is different than it's siblings). Most of my maps aren't, of course, constructed in this way and I would prefer to have the first node present just like the others (i.e., bulleted).

berteh commented 8 years ago

I will look at it in the future, meanwhile you can "simply" remove the related css selector " .mindslide section.content>ul>li:first-of-type, " from line 73 in mindslide.xsl file and export again... or remove the similar bits from your exported html file.

Feel free to push some code here that turns this behavior into an option.

homemadev commented 7 years ago

I'm just trying this out. I was surprised to see this subheading behavior for the 1st children. Your recommended edit worked for me. I commented it out :)