SassDoc / sassdoc

Release the docs!
http://sassdoc.com
MIT License
1.41k stars 56 forks source link

Allow more than one @output #562

Open robsonsobral opened 3 years ago

robsonsobral commented 3 years ago

It could be useful to show more than one example:

///
/// @example scss
/// .username {
///     @include truncate;
/// }
///
/// @output css
/// .username {
///     overflow: hidden;
///     text-overflow: ellipsis;
///     white-space: nowrap;
/// }
///
/// @example scss
/// .excerpt {
///     @include truncate(5, 1.5em);
/// }
///
/// @output css
/// .excerpt {
///   display: block;
///   overflow: hidden;
///   display: -webkit-box;
///   -webkit-box-orient: vertical;
///   max-height: 7.5rem;
///   overflow:hidden;
///   overflow: hidden !important;
///   line-height: 1.5;
///   text-overflow: ellipsis;
///   -webkit-line-clamp: 5;
/// }
///

Thank you!

robsonsobral commented 1 year ago

Give my idea a chance, people? 😢