@extend .radius
+font-size(20)
+ a
+ text-decoration: none
+
&.primary
background: radial-gradient(at 16% 6px, color.adjust($accent-color,$lightness: 20%) -7%, $accent-color 74%)
box-shadow: 0 4px 6px rgba(0, 0, 0, .2)
@if($question['type'] === "draganddrop")
<h1 class="{{$h1class}}" id="titleQuestion">
<span
- class="only-desktop">{{$question['question']}}</span>
- <span class="only-mobile">{{$__('Swipe up or down each card in the right container')}}{{__(': ')}}<br>{{$question['question']}}</span>
+ class="only-desktop">{!! $markdownToHTML($question['question']) !!}</span>
+ <span class="only-mobile">{{$__('Swipe up or down each card in the right container')}}{{__(': ')}}<br>{!! $markdownToHTML($question['question']) !!}</span>
</h1>
<h2 class="subtitle only-desktop">{{$__('Use arrow keys to move the cards to the corresponding zone')}}</h2>
@elseif($question['type']==='match')
<h1 id="titleQuestion">
- {{$question['question']}}
+ {!! $markdownToHTML($question['question']) !!}
</h1>
<h2 class="subtitle"
class="only-desktop">{{$__('When you feel the answer is appropriate, confirm the match to move on to the next question')}}</h2>
@else
- <h1 class="{{$h1class}}" id="titleQuestion">{{$question['question']}}</h1>
+ <h1 class="{{$h1class}}" id="titleQuestion">{!! $markdownToHTML($question['question']) !!}</h1>
@endif
</header>