Comments (2)
Correct, correctly the inputPath plugin only supports paths relative from the input directory (preferred) or the project root. This is noted on the docs: https://www.11ty.dev/docs/plugins/inputpath-to-url/#usage
This would be a great thing to add though!
from eleventy.
@zachleat here's the solution I've implemented, archivesspace/tech-docs@60d34f6.
This allows for pages to be clicked to in both markdown (in an editor, on GitHub.com, etc) and HTML.
A (temporary) demo is up at https://tech-docs-11ty.pages.dev/
I'm happy to help with any 11ty work in this regard.
from eleventy.
Related Issues (20)
- eleventyConfig.resolvePlugin to add core-bundled Eleventy plugins without require/import
- Also expose date as extra Luxon object
- `--quiet=true` doesn't set `config.quietMode` to `true` HOT 1
- New transforms-esque feature that runs earlier, modifies HTML before inserted in collections/layouts HOT 1
- v3.0.0-alpha.11 Regression with InputPathToUrl plugin: `#anchor` Links Point to Root `/` HOT 2
- `renderTransforms` filter not rendering `inputPathToUrl` transform plugin HOT 4
- Hot reload is only working for files in the root directory (WSL) HOT 2
- Eleventy 3.0.0-alpha.13: Content date results in TemplateContentPrematureUseError: Tried to use templateContent too early on error HOT 3
- `page.outputFileExtension` does not take into account the value of `permalink` HOT 2
- `--incremental=filename.md` for incremental build without `--watch` or `--serve` HOT 5
- 11ty don't recognize multiline shortcode LiquidJS HOT 1
- eleventyConfig.addExtension() not working as expected since 3.0.0-alpha.11 HOT 5
- Remove `htmlOutputSuffix` Common Pitfall when input and output directories match. HOT 1
- New files not using directory template if files are in folder (in Windows)
- TSX, components, and shortcodes HOT 6
- Liquid & separating shortcode params to separate lines
- Cannot read properties of undefined (reading 'filter') HOT 2
- Allow --incremental Builds to process more than one queued file at a time HOT 1
- Add glob support to Incremental CLI argument `--incremental=glob` HOT 2
- Add `useData: false` option to allow custom template engines to opt-out of Data Cascade for templates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eleventy.