This Gist tests and documents how GitHub converts text in markdown headings into URLs in-page links, as well as how
Link to this heading with: (some link)[#file_pathexample]
| import { inject as service } from '@ember/service'; | |
| import Controller from '@ember/controller'; | |
| export default class ApplicationController extends Controller { | |
| @service | |
| store; | |
| get sortedTodos() { | |
| return this.model.sortBy('isDone'); | |
| } |
This Gist tests and documents how GitHub converts text in markdown headings into URLs in-page links, as well as how
Link to this heading with: (some link)[#file_pathexample]
| import Controller from '@ember/controller'; | |
| import { inject as service } from '@ember/service'; | |
| import { action } from '@ember/object'; | |
| export default class ApplicationController extends Controller { | |
| @service session; | |
| get isUserAuthenticated() { | |
| return this.session.isAuthenticated; | |
| } |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| links: [ | |
| { text: 'foo', url: '#' }, | |
| { text: 'bar', url: '#' }, | |
| { text: 'baz', url: '#' }, | |
| ], |
| body, | |
| .wiki-content { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; line-height: 1.5; word-wrap: break-word; color: rgb(51, 51, 51); } | |
| .wiki-content p, | |
| .wiki-content blockquote, | |
| .wiki-content ul, | |
| .wiki-content ol, | |
| .wiki-content dl, | |
| .wiki-content table, | |
| .wiki-content pre, | |
| .wiki-content .code.panel { margin-top: 0; margin-bottom: 16px; overflow: hidden; } |
| /** | |
| * CSS property ordering for commonly used properties (not comprehensive). | |
| * ** Note: The extra indentation is only for visual organization. ** | |
| */ | |
| .property-order { | |
| content: ""; | |
| width: auto; | |
| height: auto; | |
| background: url("") no-repeat 0 0/0 0 white; |