File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ export const RDFXMLPane = {
1818 audience : [ ns . solid ( 'Developer' ) ] ,
1919
2020 label : function ( subject , context ) {
21- // Don't match markdown files - let humanReadablePane handle those
22- if ( subject . uri && ( subject . uri . endsWith ( '.md' ) || subject . uri . endsWith ( '.markdown' ) ) ) {
23- return null
24- }
2521 const store = context . session . store
2622 if (
2723 'http://www.w3.org/2007/ont/link#ProtocolEvent' in
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ export const dataContentPane = {
2222 audience : [ ns . solid ( 'Developer' ) ] ,
2323
2424 label : function ( subject , context ) {
25- // Don't match markdown files - let humanReadablePane handle those
26- if ( subject . uri && ( subject . uri . endsWith ( '.md' ) || subject . uri . endsWith ( '.markdown' ) ) ) {
27- return null
28- }
2925 if (
3026 'http://www.w3.org/2007/ont/link#ProtocolEvent' in
3127 context . session . store . findTypeURIs ( subject )
Original file line number Diff line number Diff line change @@ -58,12 +58,6 @@ export default {
5858
5959 if ( ! subject . uri ) return null // no bnodes
6060
61- // Don't match markdown files - let humanReadablePane handle those
62- const uri = subject . uri
63- if ( uri . endsWith ( '.md' ) || uri . endsWith ( '.markdown' ) ) {
64- return null
65- }
66-
6761 const t = kb . findTypeURIs ( subject )
6862 if ( t [ ns . link ( 'WebPage' ) . uri ] ) return 'view'
6963
Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ export const n3Pane = {
1717 audience : [ ns . solid ( 'Developer' ) ] ,
1818
1919 label : function ( subject , context ) {
20- // Don't match markdown files - let humanReadablePane handle those
21- if ( subject . uri && ( subject . uri . endsWith ( '.md' ) || subject . uri . endsWith ( '.markdown' ) ) ) {
22- return null
23- }
2420 const store = context . session . store
2521 if (
2622 'http://www.w3.org/2007/ont/link#ProtocolEvent' in
You can’t perform that action at this time.
0 commit comments